diff options
author | Henrik Paul <henrik@vaadin.com> | 2014-12-08 01:02:29 +0200 |
---|---|---|
committer | Henrik Paul <henrik@vaadin.com> | 2014-12-12 09:44:00 +0200 |
commit | b3e6edc9634f444ccece00e200cb51eee7994d75 (patch) | |
tree | cec9735edc99ec2d0454914ff16fb0f68fa97aa9 /shared | |
parent | 9927297a94edcc96ac7a653dcdc1cd4fb91951e2 (diff) | |
download | vaadin-framework-b3e6edc9634f444ccece00e200cb51eee7994d75.tar.gz vaadin-framework-b3e6edc9634f444ccece00e200cb51eee7994d75.zip |
Columns can now have subpixel accuracy widths (#13334)
Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/GridColumnState.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java index 751b262570..65a5ed625d 100644 --- a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java +++ b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java @@ -28,7 +28,7 @@ import com.vaadin.shared.Connector; */ public class GridColumnState implements Serializable { - public static final int DEFAULT_COLUMN_WIDTH_PX = -1; + public static final double DEFAULT_COLUMN_WIDTH_PX = -1; /** * Id used by grid connector to map server side column with client side @@ -40,7 +40,7 @@ public class GridColumnState implements Serializable { * Column width in pixels. Default column width is * {@value #DEFAULT_COLUMN_WIDTH_PX}. */ - public int width = DEFAULT_COLUMN_WIDTH_PX; + public double width = DEFAULT_COLUMN_WIDTH_PX; /** * The connector for the renderer used to render the cells in this column. |