Page 1 of 1
StringGadget & #PB_String_BorderLess BUG?
Posted: Tue Nov 29, 2016 11:39 am
by arma
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?
Re: StringGadget & #PB_String_BorderLess BUG?
Posted: Mon Feb 13, 2017 10:50 am
by Fred
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?
Posted: Mon Feb 13, 2017 12:51 pm
by netep
works fine on lubuntu 16.04.01 x64
peter
Re: StringGadget & #PB_String_BorderLess BUG?
Posted: Tue Feb 21, 2017 4:00 pm
by Shardik
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:
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...