It is currently Mon Mar 27, 2017 9:27 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: StringGadget & #PB_String_BorderLess BUG?
PostPosted: Tue Nov 29, 2016 11:39 am 
Offline
User
User

Joined: Sun Jul 24, 2016 11:54 pm
Posts: 22
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: StringGadget & #PB_String_BorderLess BUG?
PostPosted: Mon Feb 13, 2017 10:50 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 12939
Location: France
Seems to work here on Ubuntu 14.04, can anybody else confirm ?

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


Top
 Profile  
Reply with quote  
 Post subject: Re: StringGadget & #PB_String_BorderLess BUG?
PostPosted: Mon Feb 13, 2017 12:51 pm 
Offline
New User
New User

Joined: Wed Oct 19, 2016 11:49 am
Posts: 3
Location: Hamburg/Germany
works fine on lubuntu 16.04.01 x64

peter


Top
 Profile  
Reply with quote  
 Post subject: Re: StringGadget & #PB_String_BorderLess BUG?
PostPosted: Tue Feb 21, 2017 4:00 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 1404
Location: Germany
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:
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


Image

Image

Image

Image

Image

Image

Image

Image

Image

You should also compare the differing height of the window although each window was created with a height of 50... :shock:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye