1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,459
    Answers
    437
    Vote Rating
    202
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default 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:

    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();
    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.
    http://jsfiddle.net/slemmon/9tkAb/

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Answers
    3541
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    In initComponent, there is this line:

    Code:
    me.frame = false;
    starting with 4.1.1
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,459
    Answers
    437
    Vote Rating
    202
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    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?

  4. #4
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    447
    Answers
    21
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    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