3 Replies Latest reply: Apr 12, 2013 6:49 AM by James_D RSS

    setting the preferred width or height of a ListView using css ?

    se*328623*78
      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.