Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5221
| From | FredK <fred.l.kleinschmidt@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | JTree indentation |
| Date | 2012-08-07 14:54 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <311be386-7224-45cf-bfce-d0050ba453e6@googlegroups.com> (permalink) |
How do I control the amount of indentation for a JTree?
I have found documentation for properties "Tree.leftChildIndent"
and "Tree.rightTreeIndent" that is confusing to me as to what
they do. The documentation for leftChildIndent says:
This plus Tree.rightChildIndent account for the
total space, along the y axis, to offset nodes
from their parent.
I don't understand this. Indentation is horizontal (along the
x axis, not y).
Regardless, I tried setting either or both of these properties
with no effect.
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar
JTree indentation FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-07 14:54 -0700
Re: JTree indentation Jeff Higgins <jeff@invalid.invalid> - 2012-08-07 18:22 -0400
Re: JTree indentation FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-08 07:36 -0700
Re: JTree indentation Roedy Green <see_website@mindprod.com.invalid> - 2012-08-09 03:00 -0700
csiph-web