Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Oct 2010
    Posts
    11
    Vote Rating
    0
    nickelj is on a distinguished road

      0  

    Default Documentation

    Documentation


    Hi,

    I was going through the API documentation and I noticed a few things - some you may want to fix, and others you may not.

    Under Class Ext.Window

    - You don't mention "frame" at all. There is a config option called frame that is a boolean - defaults to true. Allows the frame of the windows to be completely hidden if false.

    - You have references to a config option "floating", but you don't have an entry for it. For example, the config option of shadow references floating=true

    I am continuing to learn and go through the documentation....let me know if you wish me to post more of these...otherwise I won't bother.

    Jim

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,168
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Windows are framed and floating as true by default and the options aren't really meant to be modified, which is why they aren't documented.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User
    Join Date
    Oct 2010
    Posts
    11
    Vote Rating
    0
    nickelj is on a distinguished road

      0  

    Default


    Thanks for your reply. I do understand that they are both true by default.

    However, there are times when a developer may want to enclose a item inside a window but not have the frame visible.

    Anyway....you guys are awesome! Do what you think is best.

    Jim

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    It's explicitly hidden because it's expected that a Window is framed by a nice border.

    It's actually probably a good idea to unhide it because in Ext 3, to get a floating, resizable BoxComponent, you must create a Window tweaked to not look like a window:

    Code:
    new Ext.Window({
        border: false,       // Override Window's default
        frame: false,        // Override Window's default
        draggable: false,    // Override Window's default
        closable: false,     // Override Window's default
        elements: 'body',   // Override Window's default
        baseCls: 'x-panel',  // Override Window's default
        floating: {shadow: false},  // Override Window's default
        resizeHandles: 'se,sw',
        height: 200,
        width: 200,
        x: 100,
        y: 100,
        bodyStyle: 'background-color:red' // just so you can see it.
    }).show()
    So that you get



    In Ext 4, floatability, resizability etc are where they should be in the hierarchy: At the Component level so everything gets that ability.

Similar Threads

  1. Documentation
    By mwmcmullen in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 25 Mar 2010, 8:12 AM
  2. Documentation?
    By darren in forum Ext.air for Adobe AIR
    Replies: 2
    Last Post: 17 Feb 2010, 12:43 PM
  3. Documentation ?
    By chechelopez in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 27 Aug 2009, 10:25 AM
  4. JS Documentation
    By madOn in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 24 Apr 2008, 7:02 PM
  5. How to use documentation
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 16 Feb 2007, 7:34 AM

Thread Participants: 2