]> source.dussan.org Git - vaadin-framework.git/commit
Fix absolute layout component sizing on size change in Vaadin7 (#8304)
authorcaalador <mikael.grankvist@gmail.com>
Mon, 23 Jan 2017 11:29:39 +0000 (13:29 +0200)
committerAleksi Hietanen <aleksi@vaadin.com>
Mon, 23 Jan 2017 11:29:39 +0000 (13:29 +0200)
commit0c44f88a4ceadfac26d0849b4dfc65c78ae9b348
tree016f4a75a818094864e171001e9ab03739d01c1f
parente9a97953f122b2c82b4708029ae5d37c76b981a9
Fix absolute layout component sizing on size change in Vaadin7 (#8304)

Changing from relative to defined size leaves the component positioned wrong,
also changing from defined size to relative size leaves the component in the
wrong position with the wrong size.

Change makes the wrapper rerun setChildWidgetPosition() that adds/removes
necessary css definitions to/from the cssPosition String.
client/src/main/java/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java
uitest/src/main/java/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutResizeComponents.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutResizeComponentsTest.java [new file with mode: 0644]