PDA

View Full Version : Help with Treepanel and treenodes alignment



a10m84
20 May 2011, 3:59 AM
Hello, I'm developing a project with Extjs 3.3.1 and I'm having problems with the rendering of the tree and it's treenodes.

1: The tree is by default aligned in the middle and I want to align it left.

2: The nodes aren't displayed correctly if the label strings are too long then not equally tabbed.

The result is the following:









26170

drian
21 May 2011, 1:59 PM
You've changed something related to ext css as trees aren't aligned in the middle by default.

You should check your outer divs/body for text-align: center and remove it.

a10m84
23 May 2011, 6:53 AM
Thank you for your response, it has been a great help.