summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
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.