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) {
borderLayout()
panel (constraints : BorderLayout.EAST) {
label("Shared:")
label(text : bind {model.loadedFiles.toString()})
}
panel (constraints : BorderLayout.WEST) {
gridLayout(rows:1, cols:2)
panel {
button(text : "Add directories to watch", actionPerformed : watchDirectories)
button(text : "Share files", actionPerformed : shareFiles)
}
panel {
label("Shared:")
label(text : bind {model.loadedFiles.toString()})
}
}
}
panel (border : etchedBorder()) {