0 Replies Latest reply: Nov 8, 2012 8:50 AM by 973256 RSS

    ListView updateItem complex object layout not done

    973256
      I ported to javaFX the Android LinearLayout panel(it extends Pane)
      It work fine in most use except in a ListCell updateItem method.
      I create this LinearLayout and I call the setGraphic method of ListCell.
      The layoutChildren method is never called on this LinearLayout object so the display is completely wrong.

      In order to find a solution to my problem, I try to force the layoutChildren call to the ListCell object: it works.
      In this method I try to force the call to the layoutChildren method of my object LinearLayout: it seems to work because the traces shows me the correct positions of the objects included in it.

      unfortunately this has no effect on the final display on the screen: the display is completely wrong again

      Edited by: 970253 on Nov 8, 2012 6:50 AM