1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 11:50:28 +03:00

[1283] Enforce Minimum Size

This commit is contained in:
David Sangrey 2024-05-28 08:40:28 -04:00
parent 6660ab77f9
commit 6e6a6814be
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -322,6 +322,12 @@ class PreferencesDialog(tk.Toplevel):
# Set Log Directory
self.logfile_loc = pathlib.Path(tempfile.gettempdir()) / appname
# Set minimum size to prevent content cut-off
self.update_idletasks() # Update "requested size" from geometry manager
min_width = self.winfo_reqwidth()
min_height = self.winfo_reqheight()
self.wm_minsize(min_width, min_height)
def __setup_output_tab(self, root_notebook: ttk.Notebook) -> None:
output_frame = nb.Frame(root_notebook)
output_frame.columnconfigure(0, weight=1)