Add top padding on OSX

This commit is contained in:
Jonathan Harris committed 2016-07-26 23:33:02 +01:00
1 parent 740627f043
commit 3994b02276
1 file changed
+1
+1
View File
@@ -52,6 +52,7 @@ class Frame(platform == 'darwin' and tk.Frame or ttk.Frame):
if platform == 'darwin':
kw['background'] = kw.pop('background', PAGEBG)
tk.Frame.__init__(self, master, **kw)
tk.Frame(self).grid(pady=5)
elif platform == 'win32':
ttk.Frame.__init__(self, master, style='nb.TFrame', **kw)
ttk.Frame(self).grid(pady=5) # top spacer