center buttons

pull/9/head
Zlatin Balevsky 2019-07-05 17:15:50 +01:00
parent f569d45c8c
commit 4015818323
1 changed files with 6 additions and 6 deletions

View File

@ -196,15 +196,15 @@ class MainFrameView {
} }
} }
panel (constraints : BorderLayout.SOUTH) { panel (constraints : BorderLayout.SOUTH) {
borderLayout() gridLayout(rows:1, cols:2)
panel (constraints : BorderLayout.EAST) { panel {
label("Shared:")
label(text : bind {model.loadedFiles.toString()})
}
panel (constraints : BorderLayout.WEST) {
button(text : "Add directories to watch", actionPerformed : watchDirectories) button(text : "Add directories to watch", actionPerformed : watchDirectories)
button(text : "Share files", actionPerformed : shareFiles) button(text : "Share files", actionPerformed : shareFiles)
} }
panel {
label("Shared:")
label(text : bind {model.loadedFiles.toString()})
}
} }
} }
panel (border : etchedBorder()) { panel (border : etchedBorder()) {