summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-12-08 01:02:29 +0200
committerHenrik Paul <henrik@vaadin.com>2014-12-12 09:44:00 +0200
commitb3e6edc9634f444ccece00e200cb51eee7994d75 (patch)
treecec9735edc99ec2d0454914ff16fb0f68fa97aa9 /shared
parent9927297a94edcc96ac7a653dcdc1cd4fb91951e2 (diff)
downloadvaadin-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.java4
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.