OK, here's the fix, but its weird. I'd like to figure out why this works, so if anyone can shed some light that would be great.

Anyway the workaround is to render a newline, '\n', after the value.

  protected Tree createTree() {
    return new Tree("tree") {
protected void renderValue(HtmlStringBuffer buffer, TreeNode treeNode) {

         ...

         // NOTE the newline char below
         buffer.append("\n");
      }
    };
  }

And now it works in IE6 + 7.

kind regards

bob


Bob Schellink wrote:
Tim Hooper wrote:
Does anybody know why the pagelink tree example has so much space between the nodes and brances in I.E. 6.0? The other tree examples don't have that issue, just the PageLink Tree, which I am trying to use.

Ouch. Even in IE7 it doesn't look right. Must be some CSS setting. I'll have a look at this tonight.

kind regards

bob



Reply via email to