diff --git a/src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java b/src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java index c809997..bd8de0a 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java +++ b/src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java @@ -312,6 +312,7 @@ public void setOrientation(Orientation orientation) { splitOrientation = orientation; if (currentLayout != null) { currentLayout.setOrientation(orientation); + currentLayout.setSplitterPosition(50); } orientationCB.setValue(Orientation.HORIZONTAL.equals(orientation)); }