Page 45 of 45 FirstFirst ... 35434445
Results 441 to 446 of 446

Thread: Documentation Bugs - Ext 3.x

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #441
    Sencha Premium User
    Join Date
    Aug 2009
    Location
    Amsterdam, NY
    Posts
    41

    Default

    Messed up tag on the flex doc for Ext.BoxComponent

    Code:
    /**
         * @cfg {Number} flex
         * <p><b>Note</b>: this config is only used when this Component is rendered
         * by a Container which has been configured to use a <b>{@link Ext.layout.BoxLayout BoxLayout}.</b>
         * Each child Component with a <code>flex</code> property will be flexed either vertically (by a VBoxLayout)
         * or horizontally (by an HBoxLayout) according to the item's <b>relative</b> <code>flex</code> value
         * compared to the sum of all Components with <code>flex</flex> value specified. Any child items that have
         * either a <code>flex = 0</code> or <code>flex = undefined</code> will not be 'flexed' (the initial size will not be ch\
    anged).
         */

  2. #442
    Sencha Premium User
    Join Date
    Aug 2009
    Location
    Amsterdam, NY
    Posts
    41

    Default

    hideParent for Ext.Component

    I'm pretty sure "hide:true" is a bug and supposed to be "hideParent:true"
    If you actually do "hide:true", that overrides the hide() function!

    Code:
    
    hideParent : BooleanTrue to hide and show the component's container when hide/show is 
    called on the component, false to hide and show the...
    True to hide and show the component's container when hide/show is called on the component, 
    false to hide and show the component itself (defaults to false).  For example, this can be used 
    as a shortcut for a hide button on a window by setting hide:true on the button when adding 
    it to its parent container.
    hideParent cfg is in there twice

    Code:
    Ext.Viewport = Ext.extend(Ext.Container, {
        /*
         * Privatize config options which, if used, would interfere with the
         * correct operation of the Viewport as the sole manager of the
         * layout of the document body.
         */
        /**
         * @cfg {Mixed} applyTo @hide
         */
        /**
         * @cfg {Boolean} allowDomMove @hide
         */
        /**
         * @cfg {Boolean} hideParent @hide
         */
        /**
         * @cfg {Mixed} renderTo @hide
         */
        /**
         * @cfg {Boolean} hideParent @hide
         */
    

  3. #443
    Sencha Premium User
    Join Date
    Aug 2009
    Location
    Amsterdam, NY
    Posts
    41

    Default

    In Ext.layout.ContainerLayout#destroy. That particular destroy function is not actually an empty function.

    Code:
        /*
         * Destroys this layout. This is a template method that is empty by default, but should be implemented
         * by subclasses that require explicit destruction to purge event handlers or remove DOM nodes.
         * @protected
         */
        destroy : function(){

  4. #444
    Sencha User
    Join Date
    Sep 2010
    Location
    Belgium
    Posts
    29

    Default Missing texts

    The current API Documentation has some strange quirks if you for instance look at Ext.state.Provider.
    Texts under public properties are missing.

  5. #445
    Sencha Premium User
    Join Date
    Aug 2009
    Location
    Amsterdam, NY
    Posts
    41

    Default

    Inconsistency with default values. Which way is preferred?

    This is one way, this style seems to be in the minority
    Code:
        /**
         * @cfg {Boolean} closable
         * Panels themselves do not directly support being closed, but some Panel subclasses do (like
         * {@link Ext.Window}) or a Panel Class within an {@link Ext.TabPanel}.  Specify <code>true</code>
         * to enable closing in such situations. Defaults to <code>false</code>.
         */
    This is another way which has a high use %
    Code:
        /**
         * @cfg {Boolean} border
         * True to display the borders of the panel's body element, false to hide them (defaults to true).  By default,
         * the border is a 2px wide inset border, but this can be further altered by setting {@link #bodyBorder} to false.
         */
    Yet another way in grid.GroupingView and many others. I noticed a large % uses tt.
    Code:
        /**
         * @cfg {Boolean} hideGroupedColumn <tt>true</tt> to hide the column that is 
         * currently grouped (defaults to <tt>false</tt>)
         */
    Last edited by Scott Murawski; 5 Sep 2010 at 9:55 AM. Reason: found a 3rd way of default values

  6. #446
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661

    Default

    We're going to close this thread in favor of opening individual tickets on the items to ensure they get resolved.

Page 45 of 45 FirstFirst ... 35434445

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •