Tree Control Style
I am trying to re-style the tree control so that it removes the tree-sign if there is nothing under the particular branch (if it is a leaf).
So far, I have been able to remove the sign the the following CSS:
Next, I'd like to add a little padding to the leafs as they all seem to be aligned to the left of the box. This does the trick:
Now I have run into a problem. The main branch of the control apears perfect. But if I expand one of the sub branches all the leafs line up. I need to add some padding to the left of the leaf. Does anyone know which classes to apply the padding style to? Nothing I try seems to be working.
So far, I have been able to remove the sign the the following CSS:
.aw-tree-leaf .aw-tree-sign {
display:none;
}
Next, I'd like to add a little padding to the leafs as they all seem to be aligned to the left of the box. This does the trick:
.aw-tree-leaf .aw-item-box {
margin-left:10px;
}
Now I have run into a problem. The main branch of the control apears perfect. But if I expand one of the sub branches all the leafs line up. I need to add some padding to the left of the leaf. Does anyone know which classes to apply the padding style to? Nothing I try seems to be working.
Aaron Todd
April 7,