3 Aug 2011 6:28 AM #1
get rid of Window's title bar or have it hold combo box
Is there a way to get rid of the title bar in a Ext.window.Window? (the bar on top of the window that has the close box)
If not, is there a way to add a combo box to it?
3 Aug 2011 8:23 AM #2
preventHeader : true,
Hope this helps someone else
3 Aug 2011 12:16 PM #3
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
And if you are wanting to add anything to the title bar you can. The Window should have a header property (like all Panels) and the header is just a Container using HBoxLayout (or VBoxLayout) so you can add/insert any component very easily! Do remember that the header isn't created at initComponent, you will need to after render.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 firstname.lastname@example.org
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.
3 Aug 2011 12:20 PM #4