X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FBox.java;h=c1dfd86ac3c771fe307f320ff5055ae9c0f7515d;hb=a5b4833ce4307242eb20dd96df36d847322bf29e;hp=7456b6e9f8ca768e5795f2d16b813e3a0e308754;hpb=478684cf10e4b8954fccbaac50f01118b571380a;p=org.ibex.core.git diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index 7456b6e..c1dfd86 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -325,6 +325,9 @@ public final class Box extends JSObject { // if the pad changes, update cmin if (which == pad) sync_cmin_to_children(); + // needed in the shrink case, since dmin may have been the deciding factor in calculating cmin + if ((vshrink || hshrink) && which == dmin) sync_cmin_to_children(); + // if the cmin changes, we need to be re-prerendered if (which == cmin) mark_for_prerender();