diff options
author | Olli Tietäväinen <ollit@vaadin.com> | 2020-08-26 15:34:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 15:34:02 +0300 |
commit | 49f0317b72efe65fa5d585a51750172ea3dca8c7 (patch) | |
tree | 56cf59d54a57ee4d0fa556d0aa521a2de1fb921f /client | |
parent | 1f458749d350b67ddc0ad44828fa5e07e8fe5985 (diff) | |
download | vaadin-framework-49f0317b72efe65fa5d585a51750172ea3dca8c7.tar.gz vaadin-framework-49f0317b72efe65fa5d585a51750172ea3dca8c7.zip |
fix for #12079 - recalculate Composite layout inside Window (#12082)
Co-authored-by: Anna Koskinen <anna@vaadin.com>
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/VWindow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VWindow.java b/client/src/main/java/com/vaadin/client/ui/VWindow.java index 03cb7e16bf..976b98118f 100644 --- a/client/src/main/java/com/vaadin/client/ui/VWindow.java +++ b/client/src/main/java/com/vaadin/client/ui/VWindow.java @@ -1230,8 +1230,8 @@ public class VWindow extends VOverlay implements ShortcutActionHandlerOwner, public void updateContentsSize() { LayoutManager layoutManager = getLayoutManager(); - layoutManager - .setNeedsMeasure(ConnectorMap.get(client).getConnector(this)); + layoutManager.setNeedsMeasureRecursively( + ConnectorMap.get(client).getConnector(this)); layoutManager.layoutNow(); } |