开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜