GeeCON Prague 2014*
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
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]

 
GeeCON Prague 2014
 
subject: miglayout grow problem