Skip to content

Commit

Permalink
Ensure CompositeConnector's root element gets re-measured on resize.
Browse files Browse the repository at this point in the history
Experimental.

Fixes: vaadin#12153
  • Loading branch information
Ansku committed Nov 27, 2020
1 parent cd1dccd commit 8414585
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public void layout() {
} else if (childConnector instanceof DirectionalManagedLayout) {
((DirectionalManagedLayout) childConnector).layoutHorizontally();
((DirectionalManagedLayout) childConnector).layoutVertically();
} else {
getLayoutManager().setNeedsMeasureRecursively(childConnector);
}
}

Expand Down

0 comments on commit 8414585

Please sign in to comment.