Kaydet (Commit) ab3b50b4 authored tarafından Guido van Rossum's avatar Guido van Rossum

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.
üst 66ab4e8a
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment