mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-30 03:42:15 +03:00
1 parent
d451d11ca9
commit
e7a727acde
1 file changed
+1
@@ -25,6 +25,7 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
if platform == 'darwin':
|
||||
# Use tk.Label 'cos can't set ttk.Label background - http://www.tkdocs.com/tutorial/styles.html#whydifficult
|
||||
kw['background'] = kw.pop('background', 'systemDialogBackgroundActive')
|
||||
kw['anchor'] = kw.pop('anchor', tk.W) # like ttk.Label
|
||||
tk.Label.__init__(self, master, **kw)
|
||||
else:
|
||||
ttk.Label.__init__(self, master, **kw)
|
||||
|
||||
Reference in new issue
Block a user