]> source.dussan.org Git - vaadin-framework.git/commit
Explicitly reserve space for layout paddings to avoid slot growing.
authorLeif Åstrand <leif@vaadin.com>
Tue, 17 Apr 2012 07:00:07 +0000 (10:00 +0300)
committerLeif Åstrand <leif@vaadin.com>
Tue, 17 Apr 2012 07:00:28 +0000 (10:00 +0300)
commitd813539290743935242fb001b8e3c1e64c3a5122
tree97be8b6688c1a10580932d218fa999ab1934a8e1
parent6e50774cd0c9edc11fa16b8178a637461046cfd1
Explicitly reserve space for layout paddings to avoid slot growing.

Without this feature, CssLayout could cause the slot to grow to over
then parent's padding, which in the next layout phase would cause the
CssLayout to be measured as a little bigger, causing a parent layout
with undefined size to grow to make room for the bigger child,
which again would make the CssLayout grow...
src/com/vaadin/terminal/gwt/client/ui/gridlayout/VGridLayout.java
src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java
src/com/vaadin/terminal/gwt/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VMeasuringOrderedLayout.java