Combo weirdness !
Posted: Wed Feb 15, 2017 8:37 pm
Hi guys, I'm having combo gadget issues with Linux, where if there are too many items for the window size I get a combo with a load of blank lines at the start.
Mint 18 Sarah 5.44 LTS (Linux - x64)
See below...
Is this one of those Gtk weird things or does anyone know a fix? Other than keeping the list short that is
Mint 18 Sarah 5.44 LTS (Linux - x64)
See below...
Code: Select all
If OpenWindow(0, 0, 0, 350, 200, "ComboBoxTest", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ComboBoxGadget(1, 10, 10, 200, 21)
For a = 1 To 30
AddGadgetItem(1, -1,"ComboBox item " + Str(a))
Next
SetGadgetState(1, 2) ; set (beginning with 0) the third item as active one
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf