PDA

View Full Version : how to change treepanel align



raysec
20 Sep 2012, 1:06 AM
Dear all

I have treepanel with store. I wanna change tree alignment to right. How i can do that.
thanks

scottmartin
20 Sep 2012, 10:54 AM
Can you please elaborate?

Scott.

raysec
21 Sep 2012, 10:52 PM
Hi,
I wrote the following code:
{
xtype: 'treepanel',
titleAlign: 'right',
title: 'tools',
store: store,
rootVisible: 'false',
renderTo: Ext.getBody(),
collapsible: true
}
At the result, i have a tree in panel with left alignment, So i wanna change tree alignment to right in the panel.

Thanks.

mitchellsimoens
24 Sep 2012, 6:42 AM
You may be able to do it with some CSS but RTL is not currently supported but it is something that is currently scoped for 4.2 (remember I said "currently")