It is currently Wed Jan 29, 2020 4:04 pm

All times are UTC + 1 hour

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: gagdet sizes are a mystery?
PostPosted: Mon Jan 07, 2019 6:02 am 

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1061
Location: Portugal
Linux mint 19.1 64bit PB5.7LTS

Useing the form designer to create a new window I put a few textgadgets etc on the form looks good.

When I run this all the gadgets are resized and look rubbish. After some investigation the gadgets are being resized to a minimum height needed to display the Font used when being displayed, not a behaviour I want. They are also not shown this way on the form designer?

Is there any way to turn this feature off? Or can the form designer have the same behaviour?

Also used Gadgetheight with return actual size which doesn't it returns the size you wanted it to be not the actual size. The actual displayed size is returned by Required size. You only see this if you set the height of the gadget less than the required size.

Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.

Reply with quote  
 Post subject: Re: gagdet sizes are a mystery?
PostPosted: Tue Jan 08, 2019 9:09 pm 
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2170
Location: Germany
The designer is implemented with his own drawing of the gadget and has nothing to do with the current OS. So you can use the designer to draw different OS. However, the minimum sizes of the different OS are not considered.

It is well known that sometimes under Linux with GTK3 the gadgets don't fit that well.

Take a look at the module ScaleGadgets. With these you can do an automatic size adjustment.
But this is still limited by Linux with the minimum sizes.

Link: viewtopic.php?f=12&t=71823

Translated with

My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace

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 5 guests

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