Skip to content

Commit

Permalink
SizeGrip: Don't double up the actual status label
Browse files Browse the repository at this point in the history
Some old code was still in there from before placing the status Label within
a frame to pair it with the SizeGrip
  • Loading branch information
Athanasius committed Dec 26, 2023
1 parent 547f3a0 commit 2849dc5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EDMarketConnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ def open_window(systray: 'SysTrayIcon') -> None:
self.status_row.columnconfigure(0, weight=99)
self.status_row.columnconfigure(1, weight=1)

# Bottom 'status' line.
self.status = tk.Label(self.status_row, name='status', anchor=tk.W)
self.status.grid(row=0, column=0, sticky=tk.W)

Expand All @@ -625,10 +626,6 @@ def open_window(systray: 'SysTrayIcon') -> None:
ttk_grip.grid(row=0, column=1, sticky=tk.E)
#######################################################################

# 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)
Expand Down

0 comments on commit 2849dc5

Please sign in to comment.