mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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.
This commit is contained in:
parent
66ab4e8af2
commit
ab3b50b429
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue