]> source.dussan.org Git - vaadin-framework.git/commit
Add 1px buffer to Escalator column natural widths. (#12075)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Mon, 17 Aug 2020 07:49:50 +0000 (10:49 +0300)
committerGitHub <noreply@github.com>
Mon, 17 Aug 2020 07:49:50 +0000 (10:49 +0300)
commite5c42385f337702e561a87806807e3bd3ef9c551
tree73e62f11250b3d7bad99e7a26b113ac685afc48c
parentaa3757c6649fa056b9495500d6987d213a8bb782
Add 1px buffer to Escalator column natural widths. (#12075)

* Add 1px buffer to Escalator column natural widths.

The purpose of the buffer is to avoid subpixel handling issues,
especially when zoomed in or out.

In case fractions need to be adjusted for browser compatibility, round
up to ensure the contents have the space they need.

Fixes #12048
client/src/main/java/com/vaadin/client/widgets/Escalator.java
uitest/reference-screenshots/chrome/CheckboxAlignmentWithNoHeaderGridTest-alignments_are_correct_ANY_Chrome__alignment.png
uitest/reference-screenshots/chrome/GridColumnAutoWidthClientTest-testColumnsRenderCorrectly_ANY_Chrome__grid-v8-initialRender.png
uitest/reference-screenshots/chrome/GridColumnAutoWidthServerTest-testColumnsRenderCorrectly_ANY_Chrome__grid-v8-initialRender.png