projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02b8afd
)
2002/05/06 20:20:56
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:47:01 +0000
(06:47 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:47:01 +0000
(06:47 +0000)
darcs-hash:
20040130064701
-2ba56-
92002b2c024a4462f5343ac009df546b0b4005dc
.gz
src/org/xwt/Box.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/Box.java
b/src/org/xwt/Box.java
index
7456b6e
..
c1dfd86
100644
(file)
--- 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();
// 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();
// if the cmin changes, we need to be re-prerendered
if (which == cmin) mark_for_prerender();