Subject: TreeView Formatting Questions
Posted By: Aaron Edwards Post Date: 12/22/2005 9:55:28 AM
Hi,

How does one adjust the horizontal spacing between the + or - image and the text that it applies to.  In other words, if a node is expandable, how do you adjust the distance between the button that expands and collapses the node, and the node text itself?

Thanks in advance!

Aaron

Reply By: Imar Reply Date: 12/22/2005 5:26:44 PM
Hi Aaron,

There might be some padding / margin settings that do this, but I don't know which one. As a dirty work-around, you can add a few transparent pixels to the images.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply By: Aaron Edwards Reply Date: 12/23/2005 1:28:32 PM
Hi Imar,

Actually the default images that ASP.NET use have a big buffer of transparent images around them.  That's why they were taking up so much space.  I just cropped out the + and the -, saved to new images, and used the new images as my Collapse and ExpandImageURLs.  That did the trick.

Thanks!

Aaron

Reply By: Imar Reply Date: 12/27/2005 5:20:39 PM
Great, not so dirty after all..... ;-)

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.

Go to topic 38006

Return to index page 409
Return to index page 408
Return to index page 407
Return to index page 406
Return to index page 405
Return to index page 404
Return to index page 403
Return to index page 402
Return to index page 401
Return to index page 400