Changeset 11357 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/DialogsPanel.java
- Timestamp:
- 2016-12-03T18:16:10+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/DialogsPanel.java
r10491 r11357 83 83 dlg.setDialogsPanel(this); 84 84 dlg.setVisible(false); 85 final JPanel p = new JPanel() { 86 /** 87 * Honoured by the MultiSplitPaneLayout when the 88 * entire Window is resized. 89 */ 90 @Override 91 public Dimension getMinimumSize() { 92 return new Dimension(0, 40); 93 } 94 }; 85 final JPanel p = new MinSizePanel(); 95 86 p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); 96 87 p.setVisible(false); … … 112 103 } else { 113 104 dlg.hideDialog(); 105 } 106 } 107 108 static final class MinSizePanel extends JPanel { 109 @Override 110 public Dimension getMinimumSize() { 111 // Honoured by the MultiSplitPaneLayout when the entire Window is resized 112 return new Dimension(0, 40); 114 113 } 115 114 }
Note:
See TracChangeset
for help on using the changeset viewer.
