mirror of https://github.com/zlatinb/muwire
move the share button to the left next to the shared files count
parent
6740d09479
commit
f382d2ecbf
|
@ -329,16 +329,16 @@ class MainFrameView {
|
||||||
}
|
}
|
||||||
panel {
|
panel {
|
||||||
gridBagLayout()
|
gridBagLayout()
|
||||||
button(text : "Share", constraints : gbc(gridx: 0), actionPerformed : shareFiles)
|
button(text : "Add Comment", enabled : bind {model.addCommentButtonEnabled}, constraints : gbc(gridx: 0), addCommentAction)
|
||||||
button(text : "Add Comment", enabled : bind {model.addCommentButtonEnabled}, constraints : gbc(gridx: 1), addCommentAction)
|
button(text : "Certify", enabled : bind {model.addCommentButtonEnabled}, constraints : gbc(gridx: 1), issueCertificateAction)
|
||||||
button(text : "Certify", enabled : bind {model.addCommentButtonEnabled}, constraints : gbc(gridx: 2), issueCertificateAction)
|
button(text : bind {model.publishButtonText}, enabled : bind {model.publishButtonEnabled}, constraints : gbc(gridx:2), publishAction)
|
||||||
button(text : bind {model.publishButtonText}, enabled : bind {model.publishButtonEnabled}, constraints : gbc(gridx:3), publishAction)
|
|
||||||
}
|
}
|
||||||
panel {
|
panel {
|
||||||
panel {
|
panel {
|
||||||
label("Shared:")
|
label("Shared:")
|
||||||
label(text : bind {model.loadedFiles}, id : "shared-files-count")
|
label(text : bind {model.loadedFiles}, id : "shared-files-count")
|
||||||
}
|
}
|
||||||
|
button(text : "Share", actionPerformed : shareFiles)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue