diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-13 18:32:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-13 18:32:37 (GMT) |
commit | 02d498ccf2b050f515631e77d628b1cb683e7be3 (patch) | |
tree | 5fe4566368cb1cf14d205125883006d838532cd4 /library | |
parent | 645e704d85418ea761b72d4fb0e275219ba2183f (diff) | |
parent | 5f94bbe9d7e1f1a626620b10a86a830b6a70e887 (diff) | |
download | tk-02d498ccf2b050f515631e77d628b1cb683e7be3.zip tk-02d498ccf2b050f515631e77d628b1cb683e7be3.tar.gz tk-02d498ccf2b050f515631e77d628b1cb683e7be3.tar.bz2 |
Fix [bb52855781]: ttk treeview tests not robust against display scaling
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/aquaTheme.tcl | 1 | ||||
-rw-r--r-- | library/ttk/clamTheme.tcl | 1 | ||||
-rw-r--r-- | library/ttk/classicTheme.tcl | 1 | ||||
-rw-r--r-- | library/ttk/defaults.tcl | 1 | ||||
-rw-r--r-- | library/ttk/winTheme.tcl | 2 |
5 files changed, 1 insertions, 5 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl index 876423f..59fa807 100644 --- a/library/ttk/aquaTheme.tcl +++ b/library/ttk/aquaTheme.tcl @@ -11,7 +11,6 @@ namespace eval ttk::theme::aqua { -foreground systemLabelColor \ -selectbackground systemSelectedTextBackgroundColor \ -selectforeground systemSelectedTextColor \ - -selectborderwidth 0 \ -insertwidth 1 ttk::style map . \ diff --git a/library/ttk/clamTheme.tcl b/library/ttk/clamTheme.tcl index fda7234..707d849 100644 --- a/library/ttk/clamTheme.tcl +++ b/library/ttk/clamTheme.tcl @@ -33,7 +33,6 @@ namespace eval ttk::theme::clam { -troughcolor $colors(-darker) \ -selectbackground $colors(-selectbg) \ -selectforeground $colors(-selectfg) \ - -selectborderwidth 0 \ -font TkDefaultFont ttk::style map "." \ diff --git a/library/ttk/classicTheme.tcl b/library/ttk/classicTheme.tcl index 2a41fbf..609c5d7 100644 --- a/library/ttk/classicTheme.tcl +++ b/library/ttk/classicTheme.tcl @@ -30,7 +30,6 @@ namespace eval ttk::theme::classic { -indicatorcolor $colors(-frame) \ -highlightcolor $colors(-frame) \ -highlightthickness 1 \ - -selectborderwidth 0 \ -borderwidth 1 \ -insertwidth 2 \ -focuswidth 0 diff --git a/library/ttk/defaults.tcl b/library/ttk/defaults.tcl index 2a7d2c3..ff8047a 100644 --- a/library/ttk/defaults.tcl +++ b/library/ttk/defaults.tcl @@ -28,7 +28,6 @@ namespace eval ttk::theme::default { -foreground $colors(-foreground) \ -troughcolor $colors(-darker) \ -font TkDefaultFont \ - -selectborderwidth 0 \ -selectbackground $colors(-selectbg) \ -selectforeground $colors(-selectfg) \ -insertwidth 1 \ diff --git a/library/ttk/winTheme.tcl b/library/ttk/winTheme.tcl index db05b45..775ea91 100644 --- a/library/ttk/winTheme.tcl +++ b/library/ttk/winTheme.tcl @@ -29,7 +29,7 @@ namespace eval ttk::theme::winnative { ttk::style map TButton -relief {{!disabled pressed} sunken} ttk::style configure TEntry \ - -padding 2 -selectborderwidth 0 -insertwidth 1 + -padding 2 -insertwidth 1 ttk::style map TEntry \ -fieldbackground \ [list readonly SystemButtonFace disabled SystemButtonFace] \ |