From bfa4373163ca02b178a6aac258d4cc061cd1abe8 Mon Sep 17 00:00:00 2001 From: Marlon Richert Date: Wed, 9 Dec 2015 14:33:43 +0200 Subject: Increase grid column resize handle width (#16838) Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6 --- server/src/com/vaadin/ui/Grid.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/src') diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index cad02a6ea6..84867f87d7 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -532,6 +532,16 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, return super.getPropertyType(propertyId); } } + + @Override + protected T build(String caption, Class dataType, + Class fieldType) throws BindException { + T field = super.build(caption, dataType, fieldType); + if (field instanceof CheckBox) { + field.setCaption(null); + } + return field; + } } /** -- cgit v1.2.3