开发者

Changing text for a hidden Ext JS SplitButton

开发者 https://www.devze.com 2023-03-20 13:06 出处:网络
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.

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

精彩评论

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

关注公众号