switch to gridBagLayout to hopefully avoid hiding of short name

pull/53/head
Zlatin Balevsky 2020-06-03 02:58:33 +01:00
parent 33982dd24b
commit 8cbada110e
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 4 additions and 3 deletions

View File

@ -565,9 +565,10 @@ class MainFrameView {
panel (border: etchedBorder(), constraints : BorderLayout.SOUTH) {
borderLayout()
panel (constraints : BorderLayout.WEST) {
label(text : bind {model.me})
button(text : "Copy Short", copyShortAction)
button(text : "Copy Full", copyFullAction)
gridBagLayout()
label(text : bind {model.me}, constraints : gbc(gridx:0, gridy:0))
button(text : "Copy Short", constraints : gbc(gridx:1, gridy:0), copyShortAction)
button(text : "Copy Full", constraints : gbc(gridx:2, gridy:0), copyFullAction)
}
panel (constraints : BorderLayout.EAST) {
label("Connections:")