Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
index 7cada9be..a55acb23 100644
--- a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
+++ b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
@@ -106,7 +106,6 @@ public class BoxView {
cursor.reconcile(graphics);
reconcileViewPort();
}
-
};
}
@@ -121,8 +120,10 @@ public class BoxView {
}
private static void reconcileBoxLayout(final Graphics graphics, final IBox box) {
+ box.layout(graphics);
+
final LinkedList<IBox> invalidatedBoxes = new LinkedList<IBox>();
- invalidatedBoxes.add(box);
+ invalidatedBoxes.add(getParent(box));
while (!invalidatedBoxes.isEmpty()) {
final IBox invalidatedBox = invalidatedBoxes.pollFirst();

Back to the top