1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

Reduce Default theme window width on OSX

This commit is contained in:
Jonathan Harris 2016-02-01 04:26:57 +00:00
parent 93b6dd6c23
commit db9d8c261a

View File

@ -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)