wood burning stoves*
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "miglayout grow problem" Watch "miglayout grow problem" New topic

miglayout grow problem

Wendy Gibbons

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]

Consider Paul's rocket mass heater.
subject: miglayout grow problem
Similar Threads
mig layout, jscrollpane, and min size
Is MiGLayout the best layout manager?
flickering problem when i use html in jlabel text
Accessing class in different file
Simple swing form layout