4 Replies Latest reply on Jun 28, 2011 8:49 PM by CleanCoder

    ButtonSkin calls measue() twice when icon is used

    CleanCoder Level 2

      Perhaps I am missing something but it seems that the default Spark ButtonSkin.mxml ends up calling measure() twice whenever an icon is used.

       

      Also, last time I check the default PanelSkin.mxml ends up calling updateDisplayList() twice whenever the "borderVisible" property is toggled.

       

      Supposedly a bug was filed for the second one. With all of the talk of performance optimization lately, I would have thought these things might have been looked into by now...