Tk Source Code

Check-in [628bdbd3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [1867834]: ttk Toolbutton has wrong default anchor. The text of a Toolbutton is centered in all built-in themes, as for TButton and for Toolbutton in the clam and aqua themes: set -anchor center in the default, alt, classic, winnative and vista themes, and -justify center in all themes, so that multi-line text is centered too.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | toolbutton-center
Files: files | file ages | folders
SHA3-256: 628bdbd3dd421d93a99e552bb46e0f797898c17efbc2d4950e0eed52c33b61f9
User & Date: serhiy.storchaka 2026-09-30 14:03:18.287
Context
2026-10-03
09:42
Fix for [1867834fff]: ttk Toolbutton has wrong default anchor. check-in: cc851a9f user: csaba tags: trunk, main
2026-09-30
14:03
Fix [1867834]: ttk Toolbutton has wrong default anchor. The text of a Toolbutton is centered in all built-in themes, as for TButton and for Toolbutton in the clam and aqua themes: set -anchor center in the default, alt, classic, winnative and vista themes, and -justify center in all themes, so that multi-line text is centered too. closed check-in: 628bdbd3 user: serhiy.storchaka tags: toolbutton-center
13:22
Version -> 9.1.1. Update changes.md with all bug-fixes since 9.1.0 so far check-in: 4e8438f6 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to library/ttk/altTheme.tcl.
Changes to library/ttk/aquaTheme.tcl.
Changes to library/ttk/clamTheme.tcl.
Changes to library/ttk/classicTheme.tcl.
Changes to library/ttk/defaults.tcl.
Changes to library/ttk/vistaTheme.tcl.
Changes to library/ttk/winTheme.tcl.
Changes to tests/ttk/ttk.test.