diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-06-04 22:27:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 22:27:33 +0200 |
| commit | 952ba0023a2b70de5fd7e5b2bb0d06566ec214e5 (patch) | |
| tree | 8c76bd48869951ab85c7af71c5799575bee5258c /lib/extensions/params.py | |
| parent | 38206d4eade913cc846e00fd41e85b561e1c926b (diff) | |
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
Diffstat (limited to 'lib/extensions/params.py')
| -rw-r--r-- | lib/extensions/params.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
