Changing text for a hidden Ext JS SplitButton
When I change the text of a hidden Ext JS SplitButton, the button is not sized correctly when the pan开发者_高级运维el 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?
Try doing panel.doLayout(false, true);
right after you change the button text.
精彩评论