split pane instead of gridlayout
This commit is contained in:
@@ -11,6 +11,7 @@ import javax.swing.JComponent
|
||||
import javax.swing.JLabel
|
||||
import javax.swing.JMenuItem
|
||||
import javax.swing.JPopupMenu
|
||||
import javax.swing.JSplitPane
|
||||
import javax.swing.JTable
|
||||
import javax.swing.ListSelectionModel
|
||||
import javax.swing.SwingConstants
|
||||
@@ -48,7 +49,8 @@ class SearchTabView {
|
||||
def resultsTable
|
||||
def sendersTable
|
||||
def pane = panel {
|
||||
gridLayout(rows : 2, cols: 1)
|
||||
gridLayout(rows :1, cols : 1)
|
||||
splitPane(orientation: JSplitPane.VERTICAL_SPLIT, continuousLayout : true, dividerLocation: 300 ) {
|
||||
panel {
|
||||
borderLayout()
|
||||
scrollPane (constraints : BorderLayout.CENTER) {
|
||||
@@ -84,6 +86,7 @@ class SearchTabView {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.pane = pane
|
||||
this.pane.putClientProperty("mvc-group", mvcGroup)
|
||||
|
Reference in New Issue
Block a user