diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-10-13 16:49:32 +0300 |
---|---|---|
committer | Markus Koivisto <markus@vaadin.com> | 2015-10-21 12:53:08 +0000 |
commit | 883fa51bc9cddef014b790b8fa38db8dbc3e7bec (patch) | |
tree | 9143878aca09a27816c001a8870653f1c0b8202d /server | |
parent | 6b41e810b5c356b9840b4659d9127a09e266c921 (diff) | |
download | vaadin-framework-883fa51bc9cddef014b790b8fa38db8dbc3e7bec.tar.gz vaadin-framework-883fa51bc9cddef014b790b8fa38db8dbc3e7bec.zip |
Set pixel sizes to Grid columns when user starts drag resize (#16838)
This makes column resizes smoother and more intuitive.
Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 65d7d8e2d2..e80f703c16 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -4705,6 +4705,7 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, if (column != null && column.isResizable()) { column.getState().width = pixels; fireColumnResizeEvent(column, true); + markAsDirty(); } } }); |