Tk Source Code

View Ticket
Login
2026-10-08
08:05 • Closed ticket [6838d62c]: tk9.1: ttk::button -justify: command line options or styling options plus 8 other changes artifact: bd238902 user: oehhar
08:04
[6838d62c] Document ttk::button -justify styling option, remove not existing command line options in comment. check-in: b2b150d5 user: oehhar tags: core-8-6-branch
08:03
[6838d62c] Document ttk::button -justify styling option, remove not existing command line options in comment. check-in: c5e1dfa8 user: oehhar tags: core-9-0-branch
07:59
[6838d62c] Document ttk::button -justify styling option, remove not existing command line options in comment. check-in: 0b67dd42 user: oehhar tags: trunk, main
2026-10-06
09:51 • Ticket [6838d62c] tk9.1: ttk::button -justify: command line options or styling options status still Open with 3 other changes artifact: bfa081bb user: oehhar
09:50
[6838d62c] Document ttk::button -justify styling option, remove not existing command line options in comment. closed check-in: 246c0a56 user: oehhar tags: 6838d62c-ttk-button-justify-documentation
09:43 • New ticket [6838d62c] tk9.1: ttk::button -justify: command line options or styling options. artifact: e94ac348 user: oehhar

Ticket UUID: 6838d62c7088d6b986c5af840042472e82489c0b
Title: tk9.1: ttk::button -justify: command line options or styling options
Type: Bug Version: 9.1
Submitter: oehhar Created on: 2026-10-06 09:43:08
Subsystem: 88. Themed Tk Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2026-10-08 08:05:04
Resolution: Fixed Closed By: oehhar
    Closed on: 2026-10-08 08:05:04
Description:

The styling option -justify always existed for a ttk::button. In tk 9.0, the command option "-justify" was added.

Issue: documentation does not list the styling option.

In the man page source code, there is the following comment:

.\" Not documented -- may go away
.\" .OP \-padding padding Padding
.\" .OP \-foreground foreground Foreground
.\" .OP \-font font Font
.\" .OP \-anchor anchor Anchor
.\" .OP \-relief relief Relief

Only the -padding option is recognised by tk 8.6 and 9.1, all others are not recognized. I also propose to remove those from the comment.

Or is this different on other platforms or themes?

Proposed documentation change in branch 6838d62c-ttk-button-justify-documentation starting with commit [246c0a56].

User Comments: oehhar added on 2026-10-08 08:05:04:

Now merged to:

  • main: [0b67dd42]
  • core-9-0-branch: [c5e1dfa8]
  • core-8-6-branch: [b2b150d5]