From ab3b50b4296e841c14ccc96a1aafde71b19db8d4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Jun 1999 14:19:46 +0000 Subject: 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. --- Tools/idle/CallTipWindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v0.12