mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 06:50:56 +03:00
ComboBox: increase maximum row count of popup list to 20 (was 8)
This commit is contained in:
@@ -604,6 +604,7 @@ public class FlatComponentsTest
|
||||
"jj",
|
||||
"kkk"
|
||||
}));
|
||||
comboBox1.setMaximumRowCount(6);
|
||||
add(comboBox1, "cell 1 5,growx");
|
||||
|
||||
//---- comboBox2 ----
|
||||
@@ -632,6 +633,7 @@ public class FlatComponentsTest
|
||||
"jj",
|
||||
"kkk"
|
||||
}));
|
||||
comboBox3.setMaximumRowCount(6);
|
||||
add(comboBox3, "cell 3 5,growx");
|
||||
|
||||
//---- comboBox4 ----
|
||||
|
||||
@@ -356,6 +356,7 @@ new FormModel {
|
||||
addElement( "jj" )
|
||||
addElement( "kkk" )
|
||||
}
|
||||
"maximumRowCount": 6
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 5,growx"
|
||||
} )
|
||||
@@ -390,6 +391,7 @@ new FormModel {
|
||||
addElement( "jj" )
|
||||
addElement( "kkk" )
|
||||
}
|
||||
"maximumRowCount": 6
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 3 5,growx"
|
||||
} )
|
||||
|
||||
@@ -196,6 +196,7 @@ ComboBox.editorColumns 0
|
||||
ComboBox.font [active] $defaultFont [UI]
|
||||
ComboBox.foreground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
ComboBox.isEnterSelectablePopup false
|
||||
ComboBox.maximumRowCount 20
|
||||
ComboBox.minimumWidth 72
|
||||
ComboBox.noActionOnKeyNavigation false
|
||||
ComboBox.padding 2,6,2,6 javax.swing.plaf.InsetsUIResource [UI]
|
||||
|
||||
@@ -200,6 +200,7 @@ ComboBox.editorColumns 0
|
||||
ComboBox.font [active] $defaultFont [UI]
|
||||
ComboBox.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
ComboBox.isEnterSelectablePopup false
|
||||
ComboBox.maximumRowCount 20
|
||||
ComboBox.minimumWidth 72
|
||||
ComboBox.noActionOnKeyNavigation false
|
||||
ComboBox.padding 2,6,2,6 javax.swing.plaf.InsetsUIResource [UI]
|
||||
|
||||
Reference in New Issue
Block a user