0

When I change the text of a hidden Ext JS SplitButton, the button is not sized correctly when the panel containing the button is made visible.

The button sits in a panel. The panel and other panels are shown and hidden using a card layout. I am using Ext JS 3.3.1.

Any ideas?

Upperstage
  • 3,747
  • 8
  • 44
  • 67

1 Answers1

0

Try doing panel.doLayout(false, true); right after you change the button text.

Amol Katdare
  • 6,740
  • 2
  • 33
  • 36