开发者

GXT - Auto height in Info popup

开发者 https://www.devze.com 2023-01-05 17:49 出处:网络
I am using class com.extjs.gxt.ui.client.widget.Info for showing popup messages. I need to show messages of different height, so popup element should change its height automatically.

I am using class com.extjs.gxt.ui.client.widget.Info for showing popup messages. I need to show messages of different height, so popup element should change its height automatically. For first look,开发者_JS百科 it is possible - Info has method setAutoHeight, inherited from BoxComponent, but I can't get instance of Info - it has only static methods for showing. I tried to set listener in InfoConfig - but it seems that it's ignored. Are there any ways to set auto height for this component?

0

精彩评论

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