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:-
Code:
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 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