Show more items in dropdown list

This commit is contained in:
Stu Leak 2026-01-04 05:26:59 -05:00
parent 368faba07d
commit bd5a0beb8b

View File

@ -1270,11 +1270,11 @@ func (cs *ColoredSelect) showPopup() {
if dropWidth < 200 {
dropWidth = 200
}
scroll.SetMinSize(fyne.NewSize(dropWidth, 200))
scroll.SetMinSize(fyne.NewSize(dropWidth, 300))
// Create popup
cs.popup = widget.NewPopUp(scroll, cs.window.Canvas())
cs.popup.Resize(fyne.NewSize(dropWidth, 200))
cs.popup.Resize(fyne.NewSize(dropWidth, 300))
// Position popup below the select widget
popupPos := fyne.CurrentApp().Driver().AbsolutePositionForObject(cs)