Results 1 to 3 of 3

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

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    You would have to change Ext.panel.Header. Search for textConfig and notice the rotate key
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Hi,

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

    can u pls post an example.

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
  •