1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    13
    Vote Rating
    0
    surajan is on a distinguished road

      0  

    Default Unanswered: left justify text in an extjs4 tbar button

    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
    311
    Answers
    59
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

Thread Participants: 1

Tags for this Thread