Hello;
I am NOT sure if ths is Purebasic BUG or if Ubuntu does NOT support this...
StringGadget(a,x,y,w,h,"TEST",#PB_String_BorderLess)
Does NOT effect on Ubuntu... But it works fine on Windows side... What is the reason?
StringGadget & #PB_String_BorderLess BUG?
Re: StringGadget & #PB_String_BorderLess BUG?
Seems to work here on Ubuntu 14.04, can anybody else confirm ?
Code: Select all
If OpenWindow(0, 300, 200, 300, 100, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget(1, 5, 5, 290, 26, "test", #PB_String_BorderLess)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
Case #PB_Event_Gadget
Select EventGadget()
Case 0
EndSelect
EndSelect
ForEver
EndIf
Re: StringGadget & #PB_String_BorderLess BUG?
works fine on lubuntu 16.04.01 x64
peter
peter
Re: StringGadget & #PB_String_BorderLess BUG?
Whether the border is suppressed is dependant on the desktop manager of your Linux distribution. For comparison I have executed the following program in PB 5.44 x86 using GTK3 on 9 different Linux distributions each utilizing a different desktop manager:
You should also compare the differing height of the window although each window was created with a height of 50...
Code: Select all
OpenWindow(0, 100, 100, 300, 50, "Linux distribution + Desktop manager")
StringGadget(1, 10, 10, 280, 26, "Borderless StringGadget", #PB_String_BorderLess)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
You should also compare the differing height of the window although each window was created with a height of 50...