2 Replies Latest reply on Jun 27, 2007 8:30 AM by Miran Loncaric

    Problem with resizing the custom component

    Miran Loncaric

      I'm working on simple menu(look at class AbstractMenu at the bottom of my post), from which I'll then create horizontal, vertical, grid, etc menu classes.

      I've added some methods:
      move, setSize, setStyle ...

      And here is the problem... moving the menu is working perfectly, but resizing it... every time I change the width or height, I get the value of 0(argument @w has the proper value, but the @width property returns 0)

      Don't know how to fix that problem...


      Here is the code: