Logo. Two Rivers Consulting is Hagan Rivers and David Rivers, user interface design consultants located near Boston Massachusetts specializing in web application and enterprise application designtwo rivers flowing

follow us on

TwitterLinkedInDelicious
    writeto [at] tworivers.com or (978) 352-2585

Trees with one root are dumb

Written by Hagan on April 12, 2010    Return to Blog Home

I often see trees that have a single root item at Level 1. This root item is one parent from which the entire tree is descended (in the example below this is “Acme-MSU”). Because it’s there, all the other items in the tree are indented an extra 20 pixels. In any tree control the horizontal real estate is at a premium – tossing 30 pixels away for nothing is pointless.

A tree with one root node wastes space

A tree with one root node wastes space

Here’s another example – “System Management” has no peers in this tree, and it’s already shown as selected in the tabs on the left, so it’s completely unnecessary in the tree. (But don’t get me started on those tabs, please – they’re terrible).

Another tree with one root node

Another tree with one root node

To me, all this does is waste space. Take it out of the tree! If you really need some sort of master root label, then just add it as text above and outside the tree control.

There!

Share this with others:

  • Twitter
  • del.icio.us
  • Digg
  • Facebook
  • LinkedIn
  • Technorati
  • StumbleUpon
  • Tumblr

Category: Navigation, Rant Add a Comment »

Add a Comment


CAPTCHA Image CAPTCHA Audio
Refresh Image