[1283] Enforce Minimum Size

This commit is contained in:
David Sangrey committed 2024-05-28 08:40:28 -04:00
1 parent 6660ab77f9
commit 6e6a6814be
1 file changed
+6
+6
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)