diff options
author | fvogel <fvogelnew1@free.fr> | 2020-08-19 20:24:18 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-08-19 20:24:18 (GMT) |
commit | e22a22e2ce70aac3350e3b6ee29cfe564405c34c (patch) | |
tree | b57ccfac874fe2903842ede22f50c71fedba9e7d /library | |
parent | cb769c1f19e1347424a4f97d6ab4dd535c409e6f (diff) | |
parent | 8a379f340b71d82c193842252a85172c788248a6 (diff) | |
download | tk-e22a22e2ce70aac3350e3b6ee29cfe564405c34c.zip tk-e22a22e2ce70aac3350e3b6ee29cfe564405c34c.tar.gz tk-e22a22e2ce70aac3350e3b6ee29cfe564405c34c.tar.bz2 |
Fix [031dfcf1dd]: ttk::treeview -anchor does not work with column #0. The focus ring of selected items of ttk::treeview disappears in the process. Also, clarify the layout (pack-like) algorithm, and simplify the code by not specifying option values that are anyway the default. Finally, remove documentation of the non-implemented TTK_STICK_ALL flag.
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/vistaTheme.tcl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/ttk/vistaTheme.tcl b/library/ttk/vistaTheme.tcl index 094288c..06f9361 100644 --- a/library/ttk/vistaTheme.tcl +++ b/library/ttk/vistaTheme.tcl @@ -69,9 +69,9 @@ namespace eval ttk::theme::vista { ttk::style layout TCombobox { Combobox.border -sticky nswe -border 0 -children { Combobox.rightdownarrow -side right -sticky ns - Combobox.padding -expand 1 -sticky nswe -children { + Combobox.padding -sticky nswe -children { Combobox.background -sticky nswe -children { - Combobox.focus -expand 1 -sticky nswe -children { + Combobox.focus -sticky nswe -children { Combobox.textarea -sticky nswe } } @@ -138,7 +138,7 @@ namespace eval ttk::theme::vista { Spinbox.background -sticky news -children { Spinbox.padding -sticky news -children { Spinbox.innerbg -sticky news -children { - Spinbox.textarea -expand 1 + Spinbox.textarea } } Spinbox.uparrow -side top -sticky ens @@ -202,8 +202,8 @@ namespace eval ttk::theme::vista { TRACKBAR 3 {disabled 5 focus 4 pressed 3 active 2 {} 1} \ -width 6 -height 12 ttk::style layout Horizontal.TScale { - Scale.focus -expand 1 -sticky nswe -children { - Horizontal.Scale.trough -expand 1 -sticky nswe -children { + Scale.focus -sticky nswe -children { + Horizontal.Scale.trough -sticky nswe -children { Horizontal.Scale.track -sticky we Horizontal.Scale.slider -side left -sticky {} } @@ -213,8 +213,8 @@ namespace eval ttk::theme::vista { TRACKBAR 6 {disabled 5 focus 4 pressed 3 active 2 {} 1} \ -width 12 -height 6 ttk::style layout Vertical.TScale { - Scale.focus -expand 1 -sticky nswe -children { - Vertical.Scale.trough -expand 1 -sticky nswe -children { + Scale.focus -sticky nswe -children { + Vertical.Scale.trough -sticky nswe -children { Vertical.Scale.track -sticky ns Vertical.Scale.slider -side top -sticky {} } |