[izpack-changes] r1633 - izpack-src/trunk/src/lib/com/izforge/izpack/gui
noreply at berlios.de
noreply at berlios.de
Tue Oct 24 11:59:15 CEST 2006
Author: bartzkau
Date: 2006-10-24 11:59:14 +0200 (Tue, 24 Oct 2006)
New Revision: 1633
Modified:
izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java
Log:
Reevaluate column elements with stretch values also
given pixels are negative. Else shrinking do not
work as assumed.
Modified: izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java 2006-10-20 21:34:51 UTC (rev 1632)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java 2006-10-24 09:59:14 UTC (rev 1633)
@@ -814,7 +814,7 @@
break;
}
}
- if (realSizeDim.width - insets.right > xpos && rowStretch > 0.0)
+ if (realSizeDim.width - insets.right != xpos && rowStretch > 0.0)
{ // Compute only if there is space to share and at least one control should be
// stretched.
int pixel = realSizeDim.width - insets.right - xpos; // How many pixel we
More information about the izpack-changes
mailing list