]> source.dussan.org Git - vaadin-framework.git/commit
Add column width recalculation when vertical scrollbar hidden/shown. (#12058)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Thu, 23 Jul 2020 10:27:11 +0000 (13:27 +0300)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2020 10:27:11 +0000 (13:27 +0300)
commit17baaf01b7d5b942856f5be8ba21f3c2918b45e5
tree66f9d43ba06b1b9b65740b889ce6c99818521272
parenta17348081abf87cb0d42bef4ae4faac3c8fd6c72
Add column width recalculation when vertical scrollbar hidden/shown. (#12058)

- If the Grid has any columns with non-fixed widths, the presence of a
vertical scrollbar affects the column width calculations. Horizontal
scrollbar should only be shown when actually needed.
client/src/main/java/com/vaadin/client/widget/grid/events/VerticalScrollbarVisibilityChangeHandler.java [new file with mode: 0644]
client/src/main/java/com/vaadin/client/widgets/Escalator.java
client/src/main/java/com/vaadin/client/widgets/Grid.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridSizeChange.java
uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java
uitest/src/test/java/com/vaadin/tests/components/grid/GridSizeChangeTest.java