We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d7fba8 commit 8effa32Copy full SHA for 8effa32
src/main/scala/scala/swing/ComboBox.scala
@@ -191,6 +191,17 @@ class ComboBox[A](items: Seq[A]) extends Component with Publisher {
191
*/
192
def editable: Boolean = peer.isEditable
193
194
+
195
+ /**
196
+ * Maximum number of rows to display without scrolling
197
+ */
198
+ def maximumRowCount: Int = peer.getMaximumRowCount
199
200
201
202
203
+ def maximumRowCount_=(c:Int): Unit = peer.setMaximumRowCount(c)
204
205
/**
206
* Makes this combo box editable. In order to do so, this combo needs an
207
* editor which is supplied by the implicit argument. For default
0 commit comments