View Full Version : Is it possible to have a toolbar update it's layout when parent div changes
17 Oct 2012, 5:43 PM
I have a div created outside of ExtJS which I am rendering a toolbar too. The divs width is relative to the browser window, I am wondering if there is a way to have the toolbar automatically update it's layout when the parent div changes width?
19 Oct 2012, 7:48 AM
You can add a listener to the div for the resize event to know when it has been resized.
19 Oct 2012, 8:44 AM
I am assuming you're talking about the Ext.dom.Element resize event, is that correct?
19 Oct 2012, 8:50 AM
19 Oct 2012, 8:51 AM
thanks I'll give that a whirl and see how it goes.
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.