Reputation: 1301
I want to show DIV element on Panel with height equal to half size of visible area of the panel. There is no problem with resize. But how can I get sizes of visible area of the panel (without titlebars & toolbars)?
Upvotes: 2
Views: 221
Reputation: 1301
Ok, I have found only one way to do that.
You can find element with class x-scroll-container
in current view. Sizes of this element will be the sizes of visible area.
Upvotes: 2