Fix main window system & station alignment on OSX.

Broken by 84a66c5.
This commit is contained in:
Jonathan Harris committed 2016-01-03 22:59:43 +00:00
1 parent d451d11ca9
commit e7a727acde
1 file changed
+1
+1
View File
@@ -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)