From 3358babe00b905d33238c58312e2dd99c32eee3c Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 4 Dec 2022 14:55:22 +0000 Subject: [PATCH] EDMarketConnector: Move tk 'status' Label to its own section --- EDMarketConnector.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 51a404da..60e9f546 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -529,17 +529,19 @@ class AppWindow(object): # LANG: Update button in main window self.button = ttk.Button(frame, text=_('Update'), width=28, default=tk.ACTIVE, state=tk.DISABLED) self.theme_button = tk.Label(frame, width=32 if sys.platform == 'darwin' else 28, state=tk.DISABLED) - self.status = tk.Label(frame, name='status', anchor=tk.W) ui_row = frame.grid_size()[1] self.button.grid(row=ui_row, columnspan=2, sticky=tk.NSEW) self.theme_button.grid(row=ui_row, columnspan=2, sticky=tk.NSEW) theme.register_alternate((self.button, self.theme_button, self.theme_button), {'row': ui_row, 'columnspan': 2, 'sticky': tk.NSEW}) - self.status.grid(columnspan=2, sticky=tk.EW) self.button.bind('', self.capi_request_data) theme.button_bind(self.theme_button, self.capi_request_data) + # Bottom 'status' line. + self.status = tk.Label(frame, name='status', anchor=tk.W) + self.status.grid(columnspan=2, sticky=tk.EW) + for child in frame.winfo_children(): child.grid_configure(padx=self.PADX, pady=( sys.platform != 'win32' or isinstance(child, tk.Frame)) and 2 or 0)