summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 13:17:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 13:17:50 (GMT)
commitda18d7586cfb1a1fa685c0ec288205dc94550a3c (patch)
tree2958a908785958b394f6a33cb9a60066c9e1f80f /library
parent3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44 (diff)
parente977448fa4e13fe1d4f2c0c6772ab1006e3f94a3 (diff)
downloadtk-da18d7586cfb1a1fa685c0ec288205dc94550a3c.zip
tk-da18d7586cfb1a1fa685c0ec288205dc94550a3c.tar.gz
tk-da18d7586cfb1a1fa685c0ec288205dc94550a3c.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'library')
-rw-r--r--library/ttk/combobox.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 03821a2..6ceccef 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -368,7 +368,8 @@ proc ttk::combobox::PlacePopdown {cb popdown} {
set y [winfo rooty $cb]
set w [winfo width $cb]
set h [winfo height $cb]
- set postoffset [ttk::style lookup TCombobox -postoffset {} {0 0 0 0}]
+ set style [$cb cget -style]
+ set postoffset [ttk::style lookup $style -postoffset {} {0 0 0 0}]
foreach var {x y w h} delta $postoffset {
incr $var $delta
}