-
13 Nov 2012 9:22 AM #1
Unanswered: [4.1.3] Remove the framing from a window component
Unanswered: [4.1.3] Remove the framing from a window component
In 4.1.3 (and 4.1.1) I'm trying to remove the framing from a window.
In 4.1.0 I successfully used the following:
Here's an example on JSFiddle. The example by default is using 4.1.0. Switch to 4.1.1 and re-run the example to see the difference.Code:Ext.widget('window', { width: 300 , height: 300 , width: 300 , frame: true // never found this to be intuitive, but it's what worked on 4.0.x and 4.1.0 , shadow: false , border: false , closable: false , html: 'some HTML' }).show();
http://jsfiddle.net/slemmon/9tkAb/
-
15 Nov 2012 6:41 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3156
In initComponent, there is this line:
starting with 4.1.1Code:me.frame = false;
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
17 Nov 2012 7:28 AM #3
Is there a way through the standard config to prevent the window from creating the frame? Or would I need to override initComponent in my own subclass?
-
17 Nov 2012 6:51 PM #4
Docs show frame is config - however in 4.1.3 as you have pointed out it doesn't work.
Seems like a bug to me - so raise it in the bugs forum
You could aways use a floating panel - http://www.sencha.com/forum/showthread.php?229740


Reply With Quote