2 Replies Latest reply on Aug 14, 2006 1:25 PM by yarkehsiow

    UPDATING WITH COMBOBOX LISTENER

    yarkehsiow Level 1
      hello,
      an issue i have encountered:
      i have a comboBox with text sizes in it, and a listener to register the "change" event.
      there is also a dynamic rectangle behind the textField which changes its height to reflect the new height of the textField.

      now, when i change the size of the text, this is what happens: the textField gets larger or smaller, but the background rectangle stays at its current size. then, if i change the text size again, the rectangle resizes itself to the size that it should have been after the first text size change, but then the textField resizes to the new size, leaving the rectangle either larger or smaller than the textField again... it's always one step behind.

      can anyone tell me why this is? and is there a way to "update" the height of the rectangle?

      thank you