Skip to content

Commit

Permalink
Merged core-8-6-branch into core-8-branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
csaba committed Aug 2, 2024
2 parents fc10c5c + 5a9b955 commit 9384e47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 11 additions & 1 deletion library/ttk/classicTheme.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,17 @@ namespace eval ttk::theme::classic {
#
# Toolbar buttons:
#
ttk::style configure Toolbutton -padding 1.5p -relief flat -shiftrelief 2
ttk::style layout Toolbutton {
Toolbutton.focus -children {
Toolbutton.border -children {
Toolbutton.padding -children {
Toolbutton.label
}
}
}
}
ttk::style configure Toolbutton -padding 1.5p -relief flat \
-shiftrelief 2 -focussolid 1
ttk::style map Toolbutton -relief \
{disabled flat selected sunken pressed sunken active raised}
ttk::style map Toolbutton -background \
Expand Down
7 changes: 4 additions & 3 deletions library/ttk/defaults.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,13 @@ proc ttk::theme::default::reconfigureDefaultTheme {} {
#
ttk::style layout Toolbutton {
Toolbutton.border -children {
Toolbutton.padding -children {
Toolbutton.label
Toolbutton.focus -children {
Toolbutton.padding -children {
Toolbutton.label
}
}
}
}

ttk::style configure Toolbutton \
-padding 1.5p -relief flat
ttk::style map Toolbutton -relief \
Expand Down

0 comments on commit 9384e47

Please sign in to comment.