1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    25
    Vote Rating
    0
    garyrgi is on a distinguished road

      0  

    Default Tab Orientation

    Tab Orientation


    Jack,

    First let me just say that what you have done is just awesome!

    The extensions are great, your site is great too

    I was looking at example six and noticed the tabbed interface was exactly what I was looking for.

    I would, however, like the tabs to be located at the top of the panel instead of at the bottom, but when I checked the docs on the tab and tabItem and did not find a way to change the orientation on the tabs from being on the bottom of the panel to the top.

    Did I just overlook it or...did I not look in the right place?

    Thanks

    Gary

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Note the tabPosition property:

    Code:
       this.layout = new YAHOO.ext.BorderLayout(this.container,
       {
            north: {
                split:true,
    	    autoTabs:true,
    	    tabPosition: 'top',
                initialSize: this.listHeight,
                titlebar: true,
                collapsible: true,
                minSize: 200,
    	    resizeTabs: true,
                autoScroll: false
            },
     ...

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    25
    Vote Rating
    0
    garyrgi is on a distinguished road

      0  

    Default


    OMG, how the heck did I miss that?

Similar Threads

  1. Tab orientation : left
    By Mitu in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 16 Jan 2007, 6:53 AM

Thread Participants: 1