From e7a727acde6e0bbd786c194a897740d310234d3d Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Sun, 3 Jan 2016 22:59:43 +0000 Subject: [PATCH] Fix main window system & station alignment on OSX. Broken by 84a66c5. --- ttkHyperlinkLabel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ttkHyperlinkLabel.py b/ttkHyperlinkLabel.py index 24c5b6ba..9a593ff5 100644 --- a/ttkHyperlinkLabel.py +++ b/ttkHyperlinkLabel.py @@ -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)