Can you change the amount of indent between node levels in a tree view.
Printable View
Can you change the amount of indent between node levels in a tree view.
only way i can think of is adding it as another child (child of a child)
the .Indentation property?
:p
Great! I hadn't noticed that!:rolleyes:Quote:
Originally posted by rjlohan
the .Indentation property?
:p
that works accross the board though, or is that what you're after??
i assumed you meant different amounts of indent for each node etc :rolleyes:
Yes, the first level text is all long, but the third level is short, so I want to use different indents.Quote:
Originally posted by darre1
that works accross the board though, or is that what you're after??
i assumed you meant different amounts of indent for each node etc :rolleyes:
this might sound like a dumb idea but what about padding them with spaces i.e. " node caption"
Well, without API, it's probably not possible. You may need to create your own TreeView with the appropriate windows messages. Is it really worth the trouble?
I want to make them as small as possible.Quote:
Originally posted by darre1
this might sound like a dumb idea but what about padding them with spaces i.e. " node caption"
So padding defeats the main objective.
I'm just bloody awkward.:)
well you could set the Indentation to 0
then all 1st level children are padded with a space
2nd level childre are padded with 2 spaces etc.
sounds crappy i know but it sounds easy too :)