diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-29 00:43:48 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-29 00:43:48 (GMT) |
commit | 216f96d49a15f71cc5fd40aed613bcfb4f0f002a (patch) | |
tree | 14934e60d875010bb861e877bc9baf31a36ab9fa /library/ttk/defaults.tcl | |
parent | 7b99e201991548b8e0a661f0394233253c776ddd (diff) | |
download | tk-216f96d49a15f71cc5fd40aed613bcfb4f0f002a.zip tk-216f96d49a15f71cc5fd40aed613bcfb4f0f002a.tar.gz tk-216f96d49a15f71cc5fd40aed613bcfb4f0f002a.tar.bz2 |
Use a styled frame around the popdown listbox so we can adjust the border for each theme as needed.
Diffstat (limited to 'library/ttk/defaults.tcl')
-rw-r--r-- | library/ttk/defaults.tcl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/library/ttk/defaults.tcl b/library/ttk/defaults.tcl index 98185ee5..52a9d33 100644 --- a/library/ttk/defaults.tcl +++ b/library/ttk/defaults.tcl @@ -1,5 +1,5 @@ # -# $Id: defaults.tcl,v 1.8 2008/11/01 15:34:24 patthoyts Exp $ +# $Id: defaults.tcl,v 1.9 2008/11/29 00:43:48 patthoyts Exp $ # # Settings for default theme. # @@ -99,6 +99,13 @@ namespace eval ttk::theme::default { -background [list selected $colors(-selectbg)] \ -foreground [list selected $colors(-selectfg)] ; + # Combobox popdown frame + ttk::style layout ComboboxPopdownFrame { + ComboboxPopdownFrame.border -sticky nswe + } + ttk::style configure ComboboxPopdownFrame \ + -borderwidth 1 -relief solid + # # Toolbar buttons: # |