mirror of https://github.com/zlatinb/muwire
ui tweaks
parent
4d6541030f
commit
63399803d5
|
@ -103,7 +103,7 @@ class MainFrameView {
|
||||||
panel {
|
panel {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.NORTH) {
|
panel (constraints : BorderLayout.NORTH) {
|
||||||
button(text : "Shared files", actionPerformed : shareFiles)
|
button(text : "Click here to share files", actionPerformed : shareFiles)
|
||||||
}
|
}
|
||||||
scrollPane ( constraints : BorderLayout.CENTER) {
|
scrollPane ( constraints : BorderLayout.CENTER) {
|
||||||
table(id : "shared-files-table") {
|
table(id : "shared-files-table") {
|
||||||
|
@ -116,7 +116,9 @@ class MainFrameView {
|
||||||
}
|
}
|
||||||
panel {
|
panel {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
label("Uploads", constraints : BorderLayout.NORTH)
|
panel (constraints : BorderLayout.NORTH){
|
||||||
|
label("Uploads")
|
||||||
|
}
|
||||||
scrollPane (constraints : BorderLayout.CENTER) {
|
scrollPane (constraints : BorderLayout.CENTER) {
|
||||||
table(id : "uploads-table") {
|
table(id : "uploads-table") {
|
||||||
tableModel(list : model.uploads) {
|
tableModel(list : model.uploads) {
|
||||||
|
@ -137,7 +139,9 @@ class MainFrameView {
|
||||||
gridLayout(rows : 1, cols : 2)
|
gridLayout(rows : 1, cols : 2)
|
||||||
panel {
|
panel {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
label("Connections", constraints : BorderLayout.NORTH)
|
panel (constraints : BorderLayout.NORTH){
|
||||||
|
label("Connections")
|
||||||
|
}
|
||||||
scrollPane(constraints : BorderLayout.CENTER) {
|
scrollPane(constraints : BorderLayout.CENTER) {
|
||||||
table(id : "connections-table") {
|
table(id : "connections-table") {
|
||||||
tableModel(list : model.connectionList) {
|
tableModel(list : model.connectionList) {
|
||||||
|
@ -148,7 +152,9 @@ class MainFrameView {
|
||||||
}
|
}
|
||||||
panel {
|
panel {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
label("Incoming searches", constraints : BorderLayout.NORTH)
|
panel (constraints : BorderLayout.NORTH){
|
||||||
|
label("Incoming searches")
|
||||||
|
}
|
||||||
scrollPane(constraints : BorderLayout.CENTER) {
|
scrollPane(constraints : BorderLayout.CENTER) {
|
||||||
table(id : "searches-table") {
|
table(id : "searches-table") {
|
||||||
tableModel(list : model.searches) {
|
tableModel(list : model.searches) {
|
||||||
|
|
Loading…
Reference in New Issue