summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-10 14:19:46 (GMT)
committerGuido van Rossum <guido@python.org>1999-06-10 14:19:46 (GMT)
commitab3b50b4296e841c14ccc96a1aafde71b19db8d4 (patch)
tree444fb377a4a97049c56422d7bb51cf9c5adc2fe2 /Tools
parent66ab4e8af269c7b4f579a05e8c45990726bfaf00 (diff)
downloadcpython-ab3b50b4296e841c14ccc96a1aafde71b19db8d4.zip
cpython-ab3b50b4296e841c14ccc96a1aafde71b19db8d4.tar.gz
cpython-ab3b50b4296e841c14ccc96a1aafde71b19db8d4.tar.bz2
Mark Hammond writes: Tim's suggestion of copying the font for the
CallTipWindow from the text control makes sense, and actually makes the control look better IMO.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/idle/CallTipWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/idle/CallTipWindow.py b/Tools/idle/CallTipWindow.py
index 71d6755..cbeab8c 100644
--- a/Tools/idle/CallTipWindow.py
+++ b/Tools/idle/CallTipWindow.py
@@ -25,7 +25,8 @@ class CallTip:
tw.wm_overrideredirect(1)
tw.wm_geometry("+%d+%d" % (x, y))
label = Label(tw, text=self.text, justify=LEFT,
- background="#ffffe0", relief=SOLID, borderwidth=1)
+ background="#ffffe0", relief=SOLID, borderwidth=1,
+ font = self.widget['font'])
label.pack()
def hidetip(self):