• Post Reply Bookmark Topic Watch Topic
  • New Topic

JGoodies and component resizing  RSS feed

 
Russell Peters
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does JGoodies forms.jar allow automatic resizing of the components within the JFrame when the JFrame is maximized or re-sized by dragging?

If not, are there other layout managers out there, that do?
 
Rob Spoor
Sheriff
Posts: 20892
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I take it you use "pref" for the columns?

If you change that to "fill:pref:g", it will use the preferred size as the minimum size, but grow as needed. If you have multiple columns / rows like that they grow equally.

If you don't want a minimum size you can use "fill:1dlu:g" or something similar. Keep in mind that this also influences the preferred size.
[ March 06, 2008: Message edited by: Rob Prime ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!