This content has been marked as final. Show 2 replies
I think that doesn't exists that method. You have to calculate it manually.1 person found this helpful
Besides the height of the rows depends of what it is on it. And I think that you will have to mess around with the ListCell.
Take a look on this sample http://docs.oracle.com/javafx/2/ui_controls/list-view.htm#CEGIIDDC of the tutorial of Listview , hope it helps.
Hi. This may not be a direct answer to your question. Just an idea.
The ComboBox uses a ListView as a method of display. A ComBox has
the following methods to limit visible items:
You may want to look how these methods are implemented for a ComBox.
public final int getVisibleRowCount() public final void setVisibleRowCount(int value)