diff options
author | John Ahlroos <john@vaadin.com> | 2013-02-14 08:55:32 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-02-14 08:55:32 +0000 |
commit | 4a56bfb8cde78a6e17111b90aa670bf7bac562df (patch) | |
tree | 21f7cd61a24d88b397a4a3fea1008c55ee1b417b /client | |
parent | 31a991d5c9c123f1ed775e626a481fa33af01392 (diff) | |
parent | f33c7d6040ecdcdaf50e5b4abbf93d78249f22da (diff) | |
download | vaadin-framework-4a56bfb8cde78a6e17111b90aa670bf7bac562df.tar.gz vaadin-framework-4a56bfb8cde78a6e17111b90aa670bf7bac562df.zip |
Merge "Removed redundant inline style (#10524)"
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VLabel.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/VLabel.java b/client/src/com/vaadin/client/ui/VLabel.java index 83fc8e207e..8acd653778 100644 --- a/client/src/com/vaadin/client/ui/VLabel.java +++ b/client/src/com/vaadin/client/ui/VLabel.java @@ -16,7 +16,6 @@ package com.vaadin.client.ui; -import com.google.gwt.dom.client.Style.Display; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.HTML; import com.vaadin.client.ApplicationConnection; @@ -57,10 +56,8 @@ public class VLabel extends HTML { super.setWidth(width); if (width == null || width.equals("")) { setStyleName(getElement(), CLASSNAME_UNDEFINED_WIDTH, true); - getElement().getStyle().setDisplay(Display.INLINE_BLOCK); } else { setStyleName(getElement(), CLASSNAME_UNDEFINED_WIDTH, false); - getElement().getStyle().clearDisplay(); } } |