diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-07-19 09:18:58 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-07-19 09:18:58 +0300 |
commit | 7b288aeb663f89bdac8cbf7eb20877681b4b49a6 (patch) | |
tree | 9526a5a1707291f896c6ff67ca8369f040763319 /client/src/main | |
parent | a108a7e8da24d5f38e5e3f34e4a0e95c1cb6b56e (diff) | |
download | vaadin-framework-7b288aeb663f89bdac8cbf7eb20877681b4b49a6.tar.gz vaadin-framework-7b288aeb663f89bdac8cbf7eb20877681b4b49a6.zip |
Add styling for ComponentRenderer wrapper div (#9691)
Fixes #9170
Diffstat (limited to 'client/src/main')
-rw-r--r-- | client/src/main/java/com/vaadin/client/connectors/grid/ComponentRendererConnector.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/ComponentRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/ComponentRendererConnector.java index cf6c2db79f..c094437538 100644 --- a/client/src/main/java/com/vaadin/client/connectors/grid/ComponentRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/grid/ComponentRendererConnector.java @@ -43,7 +43,9 @@ public class ComponentRendererConnector @Override public SimplePanel createWidget() { - return GWT.create(SimplePanel.class); + SimplePanel panel = GWT.create(SimplePanel.class); + panel.setStyleName("component-wrap"); + return panel; } @Override |