summaryrefslogtreecommitdiffstats
path: root/library/ttk
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)
commit91fa6a052ce0aa2ace9b52fde257d69a9cd8de29 (patch)
tree2958a908785958b394f6a33cb9a60066c9e1f80f /library/ttk
parentabb10324cfd83661d93763814ea5a3974ab69e7e (diff)
parent8e1ed7cc7e018ee8d5b1d1157861381c0c483682 (diff)
downloadtk-91fa6a052ce0aa2ace9b52fde257d69a9cd8de29.zip
tk-91fa6a052ce0aa2ace9b52fde257d69a9cd8de29.tar.gz
tk-91fa6a052ce0aa2ace9b52fde257d69a9cd8de29.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'library/ttk')
-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
}