Results 1 to 2 of 2

Thread: Ext.Toolbar layout config align should be pack?

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    625
    Vote Rating
    39
      0  

    Default Ext.Toolbar layout config align should be pack?

    Looking at the source code for Ext.Toolbar shows

    HTML Code:
            layout: {            type: 'hbox',            align: 'center'        }
    I'm guessing that align should really be pack since 'center' isn't a valid option for align?

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    Actually 'center' is valid and used in the actual DOM. I know that 'middle' is still in the documentation and we fully support that and will continue to do so. The reason behind it beckons back to Ext which was trying to follow an earlier WC3 spec before any browser had flex-box. Now that Touch 2 makes full use of the actual flex-box property, we need to update the docs to reflect it.

    Sencha Inc

    Jamie Avins

    @jamieavins

Posting Permissions

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