Skip to content

Commit 31eae84

Browse files
Felipe Langjavier-godoy
authored andcommitted
fix: set default splitter position to 50
Close #75
1 parent 6367523 commit 31eae84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public void setOrientation(Orientation orientation) {
312312
splitOrientation = orientation;
313313
if (currentLayout != null) {
314314
currentLayout.setOrientation(orientation);
315+
currentLayout.setSplitterPosition(50);
315316
}
316317
orientationCB.setValue(Orientation.HORIZONTAL.equals(orientation));
317318
}

0 commit comments

Comments
 (0)