|
Post by metro on Jul 18, 2020 3:26:28 GMT -5
Combobox yPos pixels not correct (for me)
[setup.main.Window] nomainwin WindowWidth = 550 WindowHeight = 410 FldNames$(0)="One" FldNames$(1)="Two" '-----Begin GUI objects code button #main.button1," Open Data ",[button1Click], UL, 10, 5, 75, 25 button #main.button2," Copy Data ",[CopyData], UL, 10, 35, 75, 25 button #main.button3," Import Data ",[IMPORTDATA], UL, 10, 65, 75, 25 combobox #main.cb1, FldNames$(), [SortData], 90, 35, 150, 100 open "My Window" for window as #main
wait [SortData] wait
|
|
|
Post by Carl Gundel on Jul 18, 2020 16:48:44 GMT -5
Combobox yPos pixels not correct (for me)
What OS? EDIT: Okay I see it. Strange because if you look at the contacts example program the comboboxes there seems to position correct. This will be interesting to debug.
|
|
|
Post by Carl Gundel on Jul 19, 2020 14:22:06 GMT -5
Combobox yPos pixels not correct (for me)
What OS? EDIT: Okay I see it. Strange because if you look at the contacts example program the comboboxes there seems to position correct. This will be interesting to debug. Okay, it's not really a bug. With this widget set a combobox will center itself vertically in its height. You do not specify the height of the list that appears when you click on the button. Perhaps this will change in the future. I will need to set LB5 for now to ignore that height value to make it backwards compatible with LB4, etc. So, change the height to a smaller value such as 25 to resolve this in your programs.
|
|
|
Post by metro on Jul 20, 2020 2:09:50 GMT -5
So, change the height to a smaller value such as 25 to resolve this in your programs. Thanks Carl
|
|