aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java
index ef25498832..e37542674b 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VBoxLayout.java
@@ -26,6 +26,8 @@ import com.vaadin.terminal.gwt.client.LayoutManager;
public class VBoxLayout extends FlowPanel {
+ public static final String CLASSNAME = "v-boxlayout";
+
private static final String ALIGN_CLASS_PREFIX = "v-align-";
protected boolean spacing = false;
@@ -39,7 +41,7 @@ public class VBoxLayout extends FlowPanel {
private LayoutManager layoutManager;
public VBoxLayout() {
- setStylePrimaryName("v-boxlayout");
+ setStyleName(CLASSNAME);
setVertical(true);
}