[izpack-changes] r1859 - izpack-src/trunk/src/lib/com/izforge/izpack/panels
noreply at berlios.de
noreply at berlios.de
Tue Jun 12 09:58:17 CEST 2007
Author: dreil
Date: 2007-06-12 09:57:59 +0200 (Tue, 12 Jun 2007)
New Revision: 1859
Modified:
izpack-src/trunk/src/lib/com/izforge/izpack/panels/UserInputPanel.java
Log:
workaround for layout problems when clicking previous button
Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/UserInputPanel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/UserInputPanel.java 2007-06-03 17:21:25 UTC (rev 1858)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/UserInputPanel.java 2007-06-12 07:57:59 UTC (rev 1859)
@@ -2575,6 +2575,9 @@
// Background color and font to match the label's.
label.setBackground(javax.swing.UIManager.getColor("label.backgroud"));
label.setMargin(new java.awt.Insets(3, 0, 3, 0));
+ // workaround to cut out layout problems
+ label.getPreferredSize();
+ // end of workaround.
uiElements.add(new Object[] { null, DESCRIPTION, null, constraints, label,
forPacks, forOs});
More information about the izpack-changes
mailing list