]> source.dussan.org Git - vaadin-framework.git/commit
Fixes column header drop indicator (#18925)
authormtzukanov <mtzukanov@vaadin.com>
Thu, 22 Oct 2015 10:52:39 +0000 (13:52 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Wed, 4 Nov 2015 11:53:04 +0000 (13:53 +0200)
commit16f280649544ae02ff0a8282bc6966ea8021cfda
treeadbb6a8e9de5d145b912bb4dba8d4af02eed9d16
parentcf827e6954a64b1013393d37f62ce71d3a4bfb88
Fixes column header drop indicator (#18925)

Calculation of the frozen column width was wrong in multiselect mode.
It did not take into account the last frozen column, but added
the select column twice.
The same problem was in AutoScroller (as the same methods were
copy-pasted there), for which reason the autoscrolling was not
scrolling till the end.
This patch fixes the calculation error and removes copy-pasted code,
reusing the same code in both places.

Change-Id: I164e2fc96688088b620ad8785c533c593723f83e
client/src/com/vaadin/client/widget/grid/AutoScroller.java
client/src/com/vaadin/client/widgets/Grid.java
uitest/src/com/vaadin/tests/components/grid/GridDragAndDrop.java [new file with mode: 0644]