tview icon indicating copy to clipboard operation
tview copied to clipboard

Fix the DropDown list when too close to the right screen edge

Open dimonomid opened this issue 3 years ago • 0 comments

There was a bug: DropDown always aligns the left edge of selection list and the main widget, but when the widget is too close to the right screen edge, the list ends up being drawn only partially. See screenshot: here, "Menu" is the dropdown:

image

This is how it looks after the fix:

image

When there is enough room on the right side, dropdown list is drawn exactly as it used to.

Fixes #726.

dimonomid avatar Apr 24 '22 08:04 dimonomid