Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeGrid icon size too large

    Greetings,

    The tree grid icons are apparently a fixed size. Perhaps you can go larger than 20x20, but you can't go less than 20x20. Is this correct?

    My problem is that the indentation of child nodes is too great. 20X20 begins to use up quite a bit of space. I know I can make the icons appear smaller by making them partially transparent, but that won't help the indentation size.

    Is there a way to control the size of the icons, or am I forced to have a 20 pixel indentation with each child node?

    Thanks,
    S

    #2
    As you might expect, the size of the indentation is controlled by the indentSize property.

    Comment


      #3
      I was using indentSize, and it wasn't working. I've discovered why it doesn't work, I think. Per this thread, indentSize ignores values below 20 if you're using the connector icon:

      http://forums.smartclient.com/showthread.php?t=11369&highlight=indentSize

      This is the same behavior I'm experiencing as well. I couldn't find this exception in the documentation but I gather that's what's going on.

      Comment


        #4
        This is documented in the nightlies but not in 7.0RC2 or prior. The indentSize property is ignored when showConnectors:true.

        Comment

        Working...
        X