summaryrefslogtreecommitdiffstats
path: root/doc/ttk_widget.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-04-17 20:05:40 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-04-17 20:05:40 (GMT)
commit9d8ed174817d0089973eed8f10c4ffe3a0688843 (patch)
tree1c91681ed209ac30e3970a9d65b4ba44d7c0ba03 /doc/ttk_widget.n
parenteaa23c291c52982f58b43348d587ada673ca40a0 (diff)
parent1968863f75b3da0064901b758bbafe953fbf0bc7 (diff)
downloadtk-9d8ed174817d0089973eed8f10c4ffe3a0688843.zip
tk-9d8ed174817d0089973eed8f10c4ffe3a0688843.tar.gz
tk-9d8ed174817d0089973eed8f10c4ffe3a0688843.tar.bz2
Fix [3602901fff]: Documentation of -padding and -border in ttk
Diffstat (limited to 'doc/ttk_widget.n')
-rw-r--r--doc/ttk_widget.n11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n
index d2916f1..8a0b275 100644
--- a/doc/ttk_widget.n
+++ b/doc/ttk_widget.n
@@ -114,6 +114,17 @@ If there are multiple lines of text, specifies how
the lines are laid out relative to one another.
One of \fBleft\fR, \fBcenter\fR, or \fBright\fR.
See also \fB\-anchor\fR (for widgets supporting this option).
+.OP \-padding padding Padding
+Specifies the internal padding for the widget.
+The padding is a list of up to four length specifications
+\fIleft top right bottom\fR.
+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.
.OP \-text text Text
Specifies a text string to be displayed inside the widget
(unless overridden by \fB\-textvariable\fR for the widgets supporting this option).