Results 1 to 2 of 2

Thread: left justify text in an extjs4 tbar button

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    13
    Vote Rating
    0
      0  

    Default Unanswered: left justify text in an extjs4 tbar button

    I have the following tbar items. I am trying to left-justify the text inside the buttons. But I am unable to do so. Any suggestions?


    {
    tbar: [
    {
    xtype: 'button',
    text: 'Home',
    width: 120,
    align:'left',
    handler: function() {
    document.location.href = BasePath;
    }
    }

    ]
    },
    {
    tbar: [
    {
    xtype: 'button',
    text: 'View Transfer Numbers',
    width: 120,
    handler: function() {
    document.location.href =BasePath+'transfer';
    }
    }

    ]
    }

  2. #2
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    316
    Answers
    59
    Vote Rating
    59
      0  

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
  •