Revision: 3837
          http://vexi.svn.sourceforge.net/vexi/?rev=3837&view=rev
Author:   clrg
Date:     2010-04-19 12:22:17 +0000 (Mon, 19 Apr 2010)

Log Message:
-----------
Fix maxheight puts not always causing place

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp

Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2010-04-19 11:33:50 UTC 
(rev 3836)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2010-04-19 12:22:17 UTC 
(rev 3837)
@@ -587,7 +587,6 @@
     /** constrain box children then establish the minimum size of a box */
     private void constrain() {
         int i;
-
         if (test(CONSTRAIN_DESCENDENT)) {
             // reconstrain any children
             for (Box c = getChild(i=0); c != null; c = getChild(++i)) {
@@ -1191,9 +1190,12 @@
         }
         // initiate reflow
         setConstrain();
+        // contrain not guarranteed to invoke place
+        setPlace();
         // in box tree
         if (parent != null) {
             parent.set(CONSTRAIN);
+            parent.set(PLACE);
         }
         if (firetraps && test(MINWIDTH_TRAP)) {
             Trap t = wtrap(SC_minwidth);
@@ -1224,9 +1226,12 @@
         }
         // initiate reflow
         setConstrain();
+        // contrain not guarranteed to invoke place
+        setPlace();
         // in box tree
         if (parent != null) {
             parent.set(CONSTRAIN);
+            parent.set(PLACE);
         }
         if (firetraps && test(MAXWIDTH_TRAP)) {
             Trap t = wtrap(SC_maxwidth);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to