diff options
author | csaba <csaba> | 2023-09-09 17:08:31 (GMT) |
---|---|---|
committer | csaba <csaba> | 2023-09-09 17:08:31 (GMT) |
commit | e1a3df121abcf048773a6469883d1167c730b976 (patch) | |
tree | d30ba267883a0081f4f140759d6d9762089c91e8 /library | |
parent | 853c52f3cfffe036ca059ed84f85ba958cbe6ca3 (diff) | |
download | tk-e1a3df121abcf048773a6469883d1167c730b976.zip tk-e1a3df121abcf048773a6469883d1167c730b976.tar.gz tk-e1a3df121abcf048773a6469883d1167c730b976.tar.bz2 |
Improved the look of the ttk::combobox and ttk::spinbox widgets in the themes "default" and "alt".
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/altTheme.tcl | 3 | ||||
-rw-r--r-- | library/ttk/defaults.tcl | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/library/ttk/altTheme.tcl b/library/ttk/altTheme.tcl index b4e0c8b..b2cfea4 100644 --- a/library/ttk/altTheme.tcl +++ b/library/ttk/altTheme.tcl @@ -70,8 +70,7 @@ namespace eval ttk::theme::alt { -arrowcolor [list disabled $colors(-disabledfg)] ttk::style configure ComboboxPopdownFrame -relief solid -borderwidth 1 - ttk::style configure TSpinbox -arrowsize 7.5p -smallarrow 1 \ - -padding {1.5p 0 7.5p 0} + ttk::style configure TSpinbox -arrowsize 7.5p -padding {1.5p 0 7.5p 0} ttk::style map TSpinbox -fieldbackground \ [list readonly $colors(-frame) disabled $colors(-frame)] \ -arrowcolor [list disabled $colors(-disabledfg)] diff --git a/library/ttk/defaults.tcl b/library/ttk/defaults.tcl index 1b51baf..f09effd 100644 --- a/library/ttk/defaults.tcl +++ b/library/ttk/defaults.tcl @@ -143,7 +143,7 @@ proc ttk::theme::default::reconfigureDefaultTheme {} { -arrowcolor [list disabled $colors(-disabledfg)] ttk::style configure TSpinbox \ - -arrowsize 7.5p -smallarrow 1 -arrowcolor $colors(-text) \ + -arrowsize 7.5p -arrowcolor $colors(-text) \ -fieldbackground $colors(-window) -padding {1.5p 0 7.5p 0} ttk::style map TSpinbox -fieldbackground \ [list readonly $colors(-frame) disabled $colors(-frame)] \ |