Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MigLayout and auto resize  RSS feed

 
christophe seguinot
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two columns. Actually I would like size1 (size of the first column) to be as little as possible depending of the size of its content (actual content of column 1 : some string...). Of course the size of the second column must change in consequence. Do you know if it's possible ?
Anyway, thanks.
Chris
 
Nope Torres
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
christophe seguinot wrote:I have two columns. Actually I would like size1 (size of the first column) to be as little as possible depending of the size of its content (actual content of column 1 : some string...). Of course the size of the second column must change in consequence. Do you know if it's possible ?
Anyway, thanks.
Chris


Just try to "grow, fill" the second column in the column constraint, and let me see what happens.
 
Nope Torres
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's the solution, thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!