Tk Source Code

View Ticket
Login
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]