From 952ba0023a2b70de5fd7e5b2bb0d06566ec214e5 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 4 Jun 2024 22:27:33 +0200 Subject: Update tartan gui (#2965) * update tartan gui * params settings size * fix issue with set_precision * fix issue with linear gradient * do not add ignore layer command to png rerealistic output --- lib/extensions/params.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/extensions/params.py') diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 77aab310..194f0cfd 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -449,8 +449,9 @@ class ParamsTab(ScrolledPanel): box.Add(self.settings_grid, proportion=1, flag=wx.ALL | wx.EXPAND, border=10) - self.SetSizer(box) self.update_choice_widgets() + self.SetSizer(box) + self.SetMinSize((box.CalcMin()[0], 200)) self.Layout() @@ -638,7 +639,7 @@ class SettingsPanel(wx.Panel): # otherwise the scrollbar jumps to the side and produces a # deprecation warning in wxpythons scrolledpanel.py line 225 - # which is expecting an integer, but uses previously a division - self.SetSizeHints(500, 400) + # self.SetSizeHints(600, 400) self.Layout() # end wxGlade -- cgit v1.2.3