[izpack-changes] r1634 - izpack-src/trunk/src/lib/com/izforge/izpack/gui

noreply at berlios.de noreply at berlios.de
Wed Oct 25 09:50:05 CEST 2006


Author: bartzkau
Date: 2006-10-25 09:50:05 +0200 (Wed, 25 Oct 2006)
New Revision: 1634

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java
Log:
Negative generall offset prevented.


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-24 09:59:14 UTC (rev 1633)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/gui/IzPanelLayout.java	2006-10-25 07:50:05 UTC (rev 1634)
@@ -933,6 +933,8 @@
             break;
 
         }
+        if(generellOffset[0] < 0 ) generellOffset[0] = 0;
+        if(generellOffset[1] < 0 ) generellOffset[1] = 0;
         return (retval);
     }
 




More information about the izpack-changes mailing list