Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    width of an autofit button

    I'm using SmartGWT 4.1-p20140316.

    I need to determine the width of a an autofit button. When I call the getWidth method it always returns 1.

    If I explicitly set the width of the button then it returns whatever I set it to.

    How can I get the width of an autofit button?

    #2
    Call getVisibleWidth() after it has drawn.

    Comment

    Working...
    X