summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-02 03:53:05 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-02 03:53:05 (GMT)
commit6e1e0315a6e0c2c2adecd1fa7a5b72a275252ea5 (patch)
treeefbbf982688f116db94cb743c561a9a189331429 /library
parent57a7843464dc1eb1fb4738c7aec4c04ccbf77392 (diff)
parent3ade8476dfc32458c17b29d07b49998dfe667569 (diff)
downloadtk-6e1e0315a6e0c2c2adecd1fa7a5b72a275252ea5.zip
tk-6e1e0315a6e0c2c2adecd1fa7a5b72a275252ea5.tar.gz
tk-6e1e0315a6e0c2c2adecd1fa7a5b72a275252ea5.tar.bz2
merge core-8-6-branch ; fix [2d24591c3b] -postoffset with default style.
Diffstat (limited to 'library')
-rw-r--r--library/ttk/combobox.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 9af8c59..e339f97 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -357,6 +357,9 @@ proc ttk::combobox::PlacePopdown {cb popdown} {
set w [winfo width $cb]
set h [winfo height $cb]
set style [$cb cget -style]
+ if { $style eq {} } {
+ set style TCombobox
+ }
set postoffset [ttk::style lookup $style -postoffset {} {0 0 0 0}]
foreach var {x y w h} delta $postoffset {
incr $var $delta