This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes miglayout grow problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "miglayout grow problem" Watch "miglayout grow problem" New topic
Author

miglayout grow problem

Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

In the screen print attached i am trying to make the 2 textfields circled in red grow to fill the width, but i never want it shrinking as it would all be unreadable then. But it is currently not growing at all but staying the standard size.

each section with a border is a panel.
I have tried setting the the mananger for each panel have fillX in it's layout constraints:
MigLayout manager = new MigLayout( "[fill]", "", "[top]" );
and making each component "growx" as it is added

what am i missing?


[Thumbnail for screen print.JPG]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: miglayout grow problem
 
Similar Threads
flickering problem when i use html in jlabel text
Accessing class in different file
Simple swing form layout
mig layout, jscrollpane, and min size
Is MiGLayout the best layout manager?