diff options
author | jenglish <jenglish@flightlab.com> | 2007-11-18 19:20:24 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2007-11-18 19:20:24 (GMT) |
commit | aa5ebe3414405d7b4ad1a8271f395866e8a65f79 (patch) | |
tree | aadad427b46a83b0e4b696481aba274e50fec32d /library/ttk/classicTheme.tcl | |
parent | d9b51f4b71e2318378ed9a818970213c3b381894 (diff) | |
download | tk-aa5ebe3414405d7b4ad1a8271f395866e8a65f79.zip tk-aa5ebe3414405d7b4ad1a8271f395866e8a65f79.tar.gz tk-aa5ebe3414405d7b4ad1a8271f395866e8a65f79.tar.bz2 |
* generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labels
instead of single element.
* generic/ttk/ttkLabel.c: Default -anchor for text and label elements
is now "w" instead of "center". Fixes [Bug 1614540].
* library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles
now need explicit "-anchor center".
Diffstat (limited to 'library/ttk/classicTheme.tcl')
-rw-r--r-- | library/ttk/classicTheme.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/ttk/classicTheme.tcl b/library/ttk/classicTheme.tcl index 2061b4e..38dc845 100644 --- a/library/ttk/classicTheme.tcl +++ b/library/ttk/classicTheme.tcl @@ -1,5 +1,5 @@ # -# $Id: classicTheme.tcl,v 1.3 2006/12/18 19:33:14 jenglish Exp $ +# $Id: classicTheme.tcl,v 1.4 2007/11/18 19:20:26 jenglish Exp $ # # "classic" Tk theme. # @@ -45,7 +45,8 @@ namespace eval ttk::theme::classic { style map "." -highlightcolor [list focus black] - style configure TButton -padding "3m 1m" -relief raised -shiftrelief 1 + style configure TButton \ + -anchor center -padding "3m 1m" -relief raised -shiftrelief 1 style map TButton -relief [list {!disabled pressed} sunken] style configure TCheckbutton -indicatorrelief raised |