use split pane in downloads tab as well

This commit is contained in:
Zlatin Balevsky
2019-07-11 03:57:49 +01:00
parent dcbe09886d
commit f7b43304d4

View File

@@ -121,7 +121,8 @@ class MainFrameView {
tabbedPane(id : "result-tabs", constraints: BorderLayout.CENTER) tabbedPane(id : "result-tabs", constraints: BorderLayout.CENTER)
} }
panel (constraints: "downloads window") { panel (constraints: "downloads window") {
gridLayout(rows : 2, cols: 1) gridLayout(rows : 1, cols : 1)
splitPane(orientation: JSplitPane.VERTICAL_SPLIT, continuousLayout : true, dividerLocation: 300 ) {
panel { panel {
borderLayout() borderLayout()
scrollPane (constraints : BorderLayout.CENTER) { scrollPane (constraints : BorderLayout.CENTER) {
@@ -148,11 +149,12 @@ class MainFrameView {
panel(constraints : BorderLayout.NORTH) { panel(constraints : BorderLayout.NORTH) {
label(text : "Download Details") label(text : "Download Details")
} }
panel(constraints : BorderLayout.CENTER) { scrollPane(constraints : BorderLayout.CENTER) {
label(text : "Details go here...") label(text : "Details go here...")
} }
} }
} }
}
panel (constraints: "uploads window"){ panel (constraints: "uploads window"){
gridLayout(cols : 1, rows : 2) gridLayout(cols : 1, rows : 2)
panel { panel {