summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-06-03 15:34:43 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-05 10:27:23 +0000
commita2e05d76e389a5fa1fe1817634c1cef203098471 (patch)
tree493a16ea181d2b59a940339556dd1472de740b20 /client
parentd5860be5b6043c9b6f9a1b5b1550b1666af2d6ef (diff)
downloadvaadin-framework-a2e05d76e389a5fa1fe1817634c1cef203098471.tar.gz
vaadin-framework-a2e05d76e389a5fa1fe1817634c1cef203098471.zip
Remove duplicate primary stylename from split panels (#17846)
Change-Id: Ia0d839654cd14e0109f09d5625fe21ae41a689a3
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VAbstractSplitPanel.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java b/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java
index b52663b161..5565daf19b 100644
--- a/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java
+++ b/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java
@@ -43,9 +43,8 @@ import com.vaadin.client.BrowserInfo;
import com.vaadin.client.ComponentConnector;
import com.vaadin.client.ConnectorMap;
import com.vaadin.client.LayoutManager;
-import com.vaadin.client.StyleConstants;
-import com.vaadin.client.WidgetUtil;
import com.vaadin.client.VConsole;
+import com.vaadin.client.WidgetUtil;
import com.vaadin.client.ui.TouchScrollDelegate.TouchScrollHandler;
import com.vaadin.client.ui.VAbstractSplitPanel.SplitterMoveHandler.SplitterMoveEvent;
import com.vaadin.shared.ui.Orientation;
@@ -125,14 +124,13 @@ public class VAbstractSplitPanel extends ComplexPanel {
public VAbstractSplitPanel(Orientation orientation) {
setElement(DOM.createDiv());
- setStyleName(StyleConstants.UI_LAYOUT);
switch (orientation) {
case HORIZONTAL:
- addStyleName(CLASSNAME + "-horizontal");
+ setStyleName(CLASSNAME + "-horizontal");
break;
case VERTICAL:
default:
- addStyleName(CLASSNAME + "-vertical");
+ setStyleName(CLASSNAME + "-vertical");
break;
}
// size below will be overridden in update from uidl, initial size