1 Apr 2012 5:30 AM #1
Unanswered: How to change the direction of the label or rotate the panel text in extjs 4
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 Apr 2012 8:18 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You would have to change Ext.panel.Header. Search for textConfig and notice the rotate keyMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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 Apr 2012 2:42 AM #3
I din't find textConfig in extjs 4 EXT.panel.Header,
can u pls post an example.