summaryrefslogtreecommitdiffstats
path: root/doc/ttk_vsapi.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-04-17 19:34:16 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-04-17 19:34:16 (GMT)
commit1968863f75b3da0064901b758bbafe953fbf0bc7 (patch)
tree19b661ab63893b5d11b72cd0f211253ee0b703f9 /doc/ttk_vsapi.n
parenta55497a86dd5d5da279eb31a6294c5b3bbbd8a54 (diff)
parent94e87e7990f560f992b180c01979879f775c06ad (diff)
downloadtk-1968863f75b3da0064901b758bbafe953fbf0bc7.zip
tk-1968863f75b3da0064901b758bbafe953fbf0bc7.tar.gz
tk-1968863f75b3da0064901b758bbafe953fbf0bc7.tar.bz2
Fix [3602901fff]: Documentation of -padding and -border in ttk
Diffstat (limited to 'doc/ttk_vsapi.n')
-rw-r--r--doc/ttk_vsapi.n7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ttk_vsapi.n b/doc/ttk_vsapi.n
index 4d5c3eb..af63c39 100644
--- a/doc/ttk_vsapi.n
+++ b/doc/ttk_vsapi.n
@@ -34,6 +34,13 @@ Valid \fIoptions\fR are:
Specify the element's interior padding.
\fIpadding\fR is a list of up to four integers specifying
the left, top, right and bottom padding quantities respectively.
+If fewer than four elements are specified,
+\fIbottom\fR defaults to \fItop\fR,
+\fIright\fR defaults to \fIleft\fR, and
+\fItop\fR defaults to \fIleft\fR.
+In other words, a list of three numbers specify the left, vertical, and right padding;
+a list of two numbers specify the horizontal and the vertical padding;
+a single number specifies the same padding all the way around the widget.
This option may not be mixed with any other options.
.TP
\fB\-margins \fIpadding\fR