From a5abeb687a7f6d0dc3c0bad23ba15e8bddd50fa6 Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Thu, 28 Sep 2017 11:38:03 +0200 Subject: [PATCH] :bug: start all servers button should be OSS --- .../terracotta/tinypounder/TinyPounderMainUI.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java b/src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java index 32c0dc9..ae96760 100644 --- a/src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java +++ b/src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java @@ -273,7 +273,9 @@ private void addVoltronCommandsControls() { serverControls = new GridLayout(); serverControls.setWidth(50, Unit.PERCENTAGE); voltronControlLayout.addComponentsAndExpand(serverControls); - + + HorizontalLayout row1 = new HorizontalLayout(); + Button clusterStartBtn = new Button(); clusterStartBtn.setCaption("Start all servers"); clusterStartBtn.addStyleName("align-bottom"); @@ -284,6 +286,7 @@ private void addVoltronCommandsControls() { } } }); + row1.addComponents(clusterStartBtn); if (kitAwareClassLoaderDelegator.isEEKit()) { clusterNameTF = new TextField(); @@ -320,12 +323,11 @@ private void addVoltronCommandsControls() { clusterStopBtn.setData("stop"); clusterStopBtn.addClickListener((Button.ClickListener) this::executeClusterToolCommand); - HorizontalLayout row1 = new HorizontalLayout(); - row1.addComponents(clusterNameTF, clusterStartBtn, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn); - - voltronControlLayout.addComponentsAndExpand(row1); + row1.addComponents(clusterNameTF, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn); } - + + voltronControlLayout.addComponentsAndExpand(row1); + consoles = new TabSheet(); mainConsole = addConsole("Main", "main"); voltronControlLayout.addComponentsAndExpand(consoles);