TabPanel tabs start position

  1. #1

    TabPanel tabs start position

    Hi all,
    I'm working with a right-to-left language.
    What i want is to change the TabPanel control to open the tabs on the right (currently the tabs are being opened on the left of the Panel).

    see this image :
  2. #2

    RE: TabPanel tabs start position

    Try this
    <style type="text/css">
    ul.x-tab-strip {
        width:auto;
    }
    ul.x-tab-strip li {
        float:right;
    }
    </style>
  3. #3

    RE: TabPanel tabs start position

    Wow !
    Thank you very much for the quick reply !

    BTW, I suggest to add a new property for the TabPanel to support this on the fly .

  4. #4

    RE: TabPanel tabs start position

    Hi*aghanem,

    The fix posted above is a global change which will affect all TabPanels on the Page. We should be able to add a "TabAlign" property to the TabPanel which can be set on a per <ext:TabPanel> instance.*


    Thanks for the suggestion.*


    Geoffrey McGill
    Founder
  5. #5

    RE: TabPanel tabs start position

    Found this exact same request previously, see*http://forums.ext.net/showthread.php...2580-17-1.aspx

    Geoffrey McGill
    Founder
  6. #6

    RE: TabPanel tabs start position

    I've added the TabAlign property to the <ext:TabPanel>

    Example

    <ext:TabPanel runat="server" Height="300" TabAlign="Right">
        <Tabs>
            <ext:Tab runat="server" Title="Tab 1" />
            <ext:Tab runat="server" Title="Tab 2" />
            <ext:Tab runat="server" Title="Tab 3" />
        </Tabs>
    </ext:TabPanel>
    The default value of the TabAlign property is 'Left'.

    If TabAlign='Right', the Tabs will rendered in reverse order.

    The TabAlign property has been committed to SVN and will be publicly available with the v0.8 release.

    Hope this helps.

    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 5
    Last Post: Nov 14, 2011, 9:28 AM
  2. Tabs and start menu is broken with Firefox 4+
    By reverseblade in forum 1.x Help
    Replies: 5
    Last Post: Jul 25, 2011, 9:53 AM
  3. Replies: 5
    Last Post: Apr 07, 2010, 4:17 PM
  4. [CLOSED] Insert tab at Position (n) on TabPanel
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 14, 2009, 3:24 PM
  5. Start Menu Position
    By mono in forum 1.x Help
    Replies: 1
    Last Post: Mar 07, 2009, 11:54 AM

Posting Permissions