1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    p.maruthirao is on a distinguished road

      0  

    Default Unanswered: How to change the direction of the label or rotate the panel text in extjs 4

    Unanswered: How to change the direction of the label or rotate the panel text in extjs 4


    Hi,

    I am new to extjs 4. I have a issue with xtype : panel.

    I created a xtype panel and kept the headerPosition 'left'. However by default the text alignment is from top to bottom.
    Ex : I named the panel as SAMPLE , so it starts from Top with 'S' and ends at the bottom with 'E'.

    For me I want to Reverse the Direction of the label.

    Can any one help me pls..

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,212
    Answers
    3517
    Vote Rating
    858
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You would have to change Ext.panel.Header. Search for textConfig and notice the rotate key
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    p.maruthirao is on a distinguished road

      0  

    Default


    Hi,

    I din't find textConfig in extjs 4 EXT.panel.Header,

    can u pls post an example.

Thread Participants: 1

Tags for this Thread