diff options
author | culler <culler> | 2019-03-20 15:15:59 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-20 15:15:59 (GMT) |
commit | c2d76ae4a48ea319f88ee98cf01dfa111dbd3e78 (patch) | |
tree | da29214a9dff31d432edeeebf313afaa9eab91a8 /library | |
parent | 42587637ebeafa53539f1a01c6bf3837bc570415 (diff) | |
download | tk-c2d76ae4a48ea319f88ee98cf01dfa111dbd3e78.zip tk-c2d76ae4a48ea319f88ee98cf01dfa111dbd3e78.tar.gz tk-c2d76ae4a48ea319f88ee98cf01dfa111dbd3e78.tar.bz2 |
Fix text layout issue for ttk::button by setting minWidth to 0. Button text
was not being centered as requested by -anchor center.
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/aquaTheme.tcl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl index 182af76..f83a710 100644 --- a/library/ttk/aquaTheme.tcl +++ b/library/ttk/aquaTheme.tcl @@ -26,8 +26,7 @@ namespace eval ttk::theme::aqua { !focus systemDialogActiveText} # Buttons -# ttk::style configure TButton -anchor center -width -6 \ - ttk::style configure TButton -anchor center \ + ttk::style configure TButton -anchor center -width -6 \ -foreground systemControlTextColor ttk::style map TButton \ -foreground { |