From b536633b39243893edda31138eec6653e484759b Mon Sep 17 00:00:00 2001 From: fvogel Date: Tue, 7 Mar 2017 20:46:17 +0000 Subject: Document -justify for ttk::button --- doc/ttk_button.n | 2 +- doc/ttk_label.n | 7 +------ doc/ttk_widget.n | 5 +++++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/ttk_button.n b/doc/ttk_button.n index 62ebe47..e7c88b2 100644 --- a/doc/ttk_button.n +++ b/doc/ttk_button.n @@ -17,7 +17,7 @@ A \fBttk::button\fR widget displays a textual label and/or image, and evaluates a command when pressed. .SO ttk_widget \-class \-compound \-cursor -\-image \-state \-style +\-image \-justify \-state \-style \-takefocus \-text \-textvariable \-underline \-width .SE diff --git a/doc/ttk_label.n b/doc/ttk_label.n index 6781b47..e891954 100644 --- a/doc/ttk_label.n +++ b/doc/ttk_label.n @@ -19,7 +19,7 @@ The label may be linked to a Tcl variable to automatically change the displayed text. .SO ttk_widget \-class \-compound \-cursor -\-image \-style \-takefocus +\-image \-justify \-style \-takefocus \-text \-textvariable \-underline \-width .SE @@ -38,11 +38,6 @@ Font to use for label text. .OP \-foreground textColor TextColor The widget's foreground color. If unspecified, the theme default is used. -.OP \-justify justify Justify -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. .OP \-padding padding Padding Specifies the amount of extra space to allocate for the widget. The padding is a list of up to four length specifications diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n index 2ecc29f..1ab3bc8 100644 --- a/doc/ttk_widget.n +++ b/doc/ttk_widget.n @@ -71,6 +71,11 @@ See the description of \fB\-xscrollcommand\fR above for details. .SH "LABEL OPTIONS" The following options are supported by labels, buttons, and other button-like widgets: +.OP \-justify justify Justify +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 \-text text Text Specifies a text string to be displayed inside the widget (unless overridden by \fB\-textvariable\fR). -- cgit v0.12