From db9d8c261a77150ba38ddb56f167e08f516ae7df Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Mon, 1 Feb 2016 04:26:57 +0000 Subject: [PATCH] Reduce Default theme window width on OSX --- EDMarketConnector.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 407f8cd0..4fdbe29f 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -102,9 +102,8 @@ class AppWindow: if appitem: appitem.grid(columnspan=2, sticky=tk.W) - minwidth = platform == 'darwin' and 32 or 28 - self.button = ttk.Button(frame, text=_('Update'), width=minwidth, command=self.getandsend, default=tk.ACTIVE, state=tk.DISABLED) # Update button in main window - self.theme_button = tk.Label(frame, text=_('Update'), width=minwidth, state=tk.DISABLED) # Update button in main window + self.button = ttk.Button(frame, text=_('Update'), width=28, command=self.getandsend, default=tk.ACTIVE, state=tk.DISABLED) # Update button in main window + self.theme_button = tk.Label(frame, text=_('Update'), width = platform == 'darwin' and 32 or 28, state=tk.DISABLED) # Update button in main window self.status = tk.Label(frame, name='status', anchor=tk.W) row = frame.grid_size()[1] self.button.grid(row=row, columnspan=2, sticky=tk.NSEW)