View unanswered posts | View active topics It is currently Mon Feb 27, 2017 12:50 pm



Reply to topic  [ 2 posts ] 
 Advice on layout 
Author Message

Joined: Wed Nov 16, 2011 10:19 pm
Posts: 2
Post Advice on layout
I'm trying to maximise the space on a large display and control things carefully on a smaller display (e.g. 800x600) - and who else isn't?

However, I'm trying to expand a display to fill some space, whilst keeping it a lot smaller when necessary - as you can see my TabbedPane is quite small and when I use WRAP_TAB_LAYOUT, the whole thing borks. What advice does anyone have on stretching this out more? I've stared at the docs and cheatsheet for two weeks, tried "grow" and other constraints, but without much luck, so I thought I would finally seek community advice.

TIA
Image


Wed Nov 30, 2011 12:57 pm
Profile
Site Admin

Joined: Mon Dec 06, 2004 4:24 pm
Posts: 2485
Location: Sweden
Post Re: Advice on layout
Hello,

grow will make the component use the available space. push will however make the component greedy and push try to expand the space the component and container is taking. Combine the two when you want maximum growths. Like "growx, pushx".

Cheers,
Mikael


Wed Nov 30, 2011 3:39 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.