0 Replies Latest reply on Jan 7, 2013 2:39 PM by fabsav

    fail on change tab shape

      Hi :)

      i have a tab pane with n tabs and the opportunity to add/close tabs.
      the first has a particoular shape, defined in a css file in this way:
         -fx-shape: "a very particular shape";
      it works fine,

      then a listener recognize every change in tabPane.getTabs() and if tab 0 has been removed it sets to #first-top-tab the (new) first tab
      If i print tabPane.get(0) , it shows first-top-tab, but the shape doesn't change...

      do someone knows why ??

      thank you!