Hi All
Just sorting my programmes to work on Linux.
Noticed that whatever size I make say a combobox gadget it is displayed at a height of 25 - 30. Same with some other gadgets as well.
Is this normal?
If so are there minimum heights for gadgets on Linux?
Regards
CD
linux gadgets different heights?
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
linux gadgets different heights?
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: linux gadgets different heights?
Digging a little deeper found that the height of a string gafget is not changed by changing it's height but its position is. With following code:-
On windows fine the second stringgadget is 45 high and on a level with the first.
On Linux the second string gadget is moved down and the height not changed!
Is this a bug in the Linux version?
A little more info
I am using ubuntu 16.04 LTS and PB 5.61.
The form designer works Ok and looks as you would expect. problem is when you run the programme.
Regards
cd
Code: Select all
Global Window_0
Global String_0, String_1
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
String_0 = StringGadget(#PB_Any, 20, 20, 60, 20, "")
String_1 = StringGadget(#PB_Any, 90, 20, 90, 45, "")
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
On Linux the second string gadget is moved down and the height not changed!
Is this a bug in the Linux version?
A little more info
I am using ubuntu 16.04 LTS and PB 5.61.
The form designer works Ok and looks as you would expect. problem is when you run the programme.
Regards
cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.