* make SelectDialog layout resize properly

This commit is contained in:
Reinhard Pointner 2011-12-30 20:31:02 +00:00
parent c106bcea4e
commit c9a956cbe2

View File

@ -65,7 +65,7 @@ public class SelectDialog<T> extends JDialog {
JComponent c = (JComponent) getContentPane();
c.setLayout(new MigLayout("insets 1.5mm, nogrid, fill"));
c.setLayout(new MigLayout("insets 1.5mm, nogrid, fill", "", "[pref!][fill][pref!]"));
c.add(headerLabel, "wrap");
c.add(new JScrollPane(list), "grow, wrap 2mm");