summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-12-05 18:29:18 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-12-05 18:29:18 (GMT)
commit61c4f8a8eb90ad6f0b09176e8fdc3795bfe4ff13 (patch)
tree6fb414e33f175ad025c14bad07b560bd3ce9ec36 /doc
parent849ac25c5fdec50b7f25d622da4630ed53edfa31 (diff)
downloadtk-61c4f8a8eb90ad6f0b09176e8fdc3795bfe4ff13.zip
tk-61c4f8a8eb90ad6f0b09176e8fdc3795bfe4ff13.tar.gz
tk-61c4f8a8eb90ad6f0b09176e8fdc3795bfe4ff13.tar.bz2
Document -indent treeview styling option, and correct documentation of -rowheight.
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_treeview.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ttk_treeview.n b/doc/ttk_treeview.n
index 8494dad..ef89b03 100644
--- a/doc/ttk_treeview.n
+++ b/doc/ttk_treeview.n
@@ -505,10 +505,15 @@ are:
.br
\fB\-foreground\fP \fIcolor\fP
.br
+\fB\-indent\fP \fIamount\fP
+.RS
+Specifies how many pixels items are indented from their parents. Defaults to 20.
+.RE
+.br
\fB\-rowheight\fP \fIamount\fP
.RS
The \fB\-rowheight\fP value is not corrected by the \fBtk scaling\fP
-value or by the configured font size and must always be set. Also make
+value or by the configured font size. It defaults to 20 pixels. Make
sure that the \fB\-rowheight\fP is large enough to contain any images.
.PP
To adjust the \fB\-rowheight\fP for the Treeview style, use the following code