setting the preferred width or height of a ListView using css ?
Is it possible to set the preferred width and height of a Node (a ListView) using css ?
Just in case I tried with:
.my-list {
-fx-pref-width: 130;
-fx-pref-height: 100;
}
but it does not seem to work.