diff options
author | Marlon Richert <marlon@vaadin.com> | 2015-12-09 14:33:43 +0200 |
---|---|---|
committer | Marlon Richert <marlon@vaadin.com> | 2015-12-18 14:58:38 +0200 |
commit | bfa4373163ca02b178a6aac258d4cc061cd1abe8 (patch) | |
tree | ef723a96e80ba1cdd0b9f516222d9e924b75433c /server | |
parent | 2278f678fc9d3199825399b4bd3fba6659048877 (diff) | |
download | vaadin-framework-bfa4373163ca02b178a6aac258d4cc061cd1abe8.tar.gz vaadin-framework-bfa4373163ca02b178a6aac258d4cc061cd1abe8.zip |
Increase grid column resize handle width (#16838)
Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 10 |
1 files changed, 10 insertions, 0 deletions
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 extends Field> T build(String caption, Class<?> dataType, + Class<T> fieldType) throws BindException { + T field = super.build(caption, dataType, fieldType); + if (field instanceof CheckBox) { + field.setCaption(null); + } + return field; + } } /** |