Skip to content

Commit 5ad8da7

Browse files
Merge pull request #28 from mathieucarbou/improvements
🐛 start all servers button should be OSS
2 parents 794cb75 + a5abeb6 commit 5ad8da7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/main/java/org/terracotta/tinypounder/TinyPounderMainUI.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ private void addVoltronCommandsControls() {
273273
serverControls = new GridLayout();
274274
serverControls.setWidth(50, Unit.PERCENTAGE);
275275
voltronControlLayout.addComponentsAndExpand(serverControls);
276-
276+
277+
HorizontalLayout row1 = new HorizontalLayout();
278+
277279
Button clusterStartBtn = new Button();
278280
clusterStartBtn.setCaption("Start all servers");
279281
clusterStartBtn.addStyleName("align-bottom");
@@ -284,6 +286,7 @@ private void addVoltronCommandsControls() {
284286
}
285287
}
286288
});
289+
row1.addComponents(clusterStartBtn);
287290

288291
if (kitAwareClassLoaderDelegator.isEEKit()) {
289292
clusterNameTF = new TextField();
@@ -320,12 +323,11 @@ private void addVoltronCommandsControls() {
320323
clusterStopBtn.setData("stop");
321324
clusterStopBtn.addClickListener((Button.ClickListener) this::executeClusterToolCommand);
322325

323-
HorizontalLayout row1 = new HorizontalLayout();
324-
row1.addComponents(clusterNameTF, clusterStartBtn, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn);
325-
326-
voltronControlLayout.addComponentsAndExpand(row1);
326+
row1.addComponents(clusterNameTF, clusterConfigBtn, clusterReConfigBtn, clusterBackupBtn, clusterDumpBtn, clusterStopBtn);
327327
}
328-
328+
329+
voltronControlLayout.addComponentsAndExpand(row1);
330+
329331
consoles = new TabSheet();
330332
mainConsole = addConsole("Main", "main");
331333
voltronControlLayout.addComponentsAndExpand(consoles);

0 commit comments

Comments
 (0)