Tested on ubuntu 16.04.3LTS and PB5.45LTS.
Code: Select all
Global Window_0
Global Combo_0,iLoop
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
Combo_0 = ComboBoxGadget(#PB_Any, 120, 20, 170, 20)
For iLoop = 0 To 1000
AddGadgetItem(Combo_0,-1,"Item Number " + Str(iLoop))
Next iLoop
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
It seems that the automatic resizing is taking a very long time making combogadgets unusable on older hardware.
Can the combogadget be created with a fixed width hopefully preventing the interminable resizeing code from running?