It is currently Tue Jan 19, 2021 7:10 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PB 5.41 IDE design issues
PostPosted: Thu Dec 10, 2015 7:51 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 03, 2011 5:54 pm
Posts: 736
Location: Oldenburg (Germany)
Hi,

the latest release has so many layout design bugs, that is has become totally ugly. In most cases it is caused by labels which have word-breaks where they are not necessary. The preferences dialog cannot be used on small netbooks anymore, because the dialog button are outside the screen.

I seriously want to know, whether you are going to repair this soon, or you think that it is not that importent and will most likely not repairing this in the near future?

:? Uwe

_________________
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.41 IDE design issues
PostPosted: Mon Dec 14, 2015 1:04 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 03, 2011 5:54 pm
Posts: 736
Location: Oldenburg (Germany)
What i found out so far is that resizing is different between GTK2, GTK3 and Windows. Try this tiny program and check the label border on different systems.
Code:
OpenWindow(0, 0, 0, 200, 200, "Test", #PB_Window_SystemMenu | #PB_Window_Normal | #PB_Window_ScreenCentered | #PB_Window_SizeGadget)
TextGadget(0, 0, 0, 100, 32, "This is a test string with or without line break", #PB_Text_Border)
Repeat
Until WaitWindowEvent() =  #PB_Event_CloseWindow


Here is how it looks with GTK2:
Image
The label wraps the text but the gadget will not be resized.

Here is how it looks with GTK3:
Image
The label wraps text as well, but resizes the label.

My guess for Windows is, that the label does not wrap by default, but the gadget will be auto-resized in width. Maybe someone can confirm this.

My proposal is to make the behaviour on Linux the same like on Windows. Maybe PB can call the
Code:
gtk_label_set_line_wrap_(gadget, false)
immediatly after creating a new Label gadget.

_________________
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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