diff options
author | fvogel <fvogelnew1@free.fr> | 2017-04-07 21:24:24 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-04-07 21:24:24 (GMT) |
commit | 94e87e7990f560f992b180c01979879f775c06ad (patch) | |
tree | ee046fd0e4a65c19a4635910a1f36827bd3a452a /doc/ttk_vsapi.n | |
parent | 1bc7b09b1504f4fc06f0be369a22538f7ab6ec84 (diff) | |
download | tk-94e87e7990f560f992b180c01979879f775c06ad.zip tk-94e87e7990f560f992b180c01979879f775c06ad.tar.gz tk-94e87e7990f560f992b180c01979879f775c06ad.tar.bz2 |
Factorized documentation of -padding as much as possible, and clarified documentation of -border in the same way as for -paddingbug_3602901fff
Diffstat (limited to 'doc/ttk_vsapi.n')
-rw-r--r-- | doc/ttk_vsapi.n | 7 |
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 |