3 Replies Latest reply on Apr 12, 2013 11:49 AM by James_D

    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.