View unanswered posts | View active topics It is currently Wed May 24, 2017 5:11 am

Reply to topic  [ 1 post ] 
 PAD as a Column/Row Constraint 
Author Message

Joined: Wed Jun 18, 2008 8:57 pm
Posts: 13
Post PAD as a Column/Row Constraint
This is a feature request. I would like to be able to use 'pad' as a column/row constraint. For example:

new MigLayout("fill", "20[]20", "24[]16[]12[pad 0 0 0 8]12")

In my column constraints I have a gap of 20 on each side of the column. What I want to be able to do is have the last row of the layout move to right by 8, without affecting the column gaps of the other rows.

Basically allowing pad in the column/row constraints lets you override the global gap settings of one axis with more specific placement for a specific column or row.

Cheers, Eric

Sat Nov 21, 2009 1:53 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.