2 Dec 2011 10:48 PM #1
Unanswered: How do I make a window draggable by its entire body as opposed to only header?
How do I make a window draggable by its entire body as opposed to only header?
I have a window that has preventHeader: true. So no header. I would rather like the window to be dragged using any part of the window (this window has a tbar and a bbar - both toolbars could be used as handles including the body itself).
Is this possible? Is there any other reasonable solution to this problem?
5 Dec 2011 6:38 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Ext.window.Window uses Ext.util.ComponentDragger if the window has a header. Since you do not, you can use the Ext.dd.* classes to enable dragging on the window's el.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.