Results 1 to 4 of 4

Thread: Changing default position of icon for tab title

  1. #1

    Default Changing default position of icon for tab title

    By default, tab icon shows up to the left of title of the tab. Does Ext provide a quick way to set the icon to the right of tab title?

    ---------
    + Tab1
    ---------

    Expected:
    ---------
    Tab1 +
    ---------

    Ext.create('Ext.tab.Panel',{
    plain
    :true,
    items
    :[{
    title
    :"Tab 1",
    iconCls:"plus",
    },
    {
    title
    :"Tab 2",
    }, {
    title: "Tab 3"
    }],

    renderTo
    :Ext.getBody()
    });

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Have you tried "float: right" in your CSS?

  3. #3

    Default

    "iconAlign": "right" worked.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Ah nice -- I didn't know of that one. Glad to hear you found the solution.

Similar Threads

  1. Replies: 1
    Last Post: 31 Dec 2015, 6:54 AM
  2. position the title
    By jeanluca in forum Sencha Touch 2.x: Discussion
    Replies: 4
    Last Post: 15 Feb 2012, 12:30 AM
  3. Changing a button's position?
    By moose_ in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 22 Jan 2008, 11:02 PM

Tags for this Thread

Posting Permissions

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