diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-05-11 07:12:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-11 07:12:17 +0200 |
| commit | 9bc8210303d144f83ed386df8b8ea3fca562ceac (patch) | |
| tree | 8eb999094872c62d350249f600a5b2a6241ed915 | |
| parent | d3dcaa5e9a6d7326eb5a2f480edeae72b54b9021 (diff) | |
wrap param descriptions (#3719)
| -rwxr-xr-x | lib/extensions/params.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 0d709b77..cb38585e 100755 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -409,6 +409,7 @@ class ParamsTab(ScrolledPanel): for param in self.params: col1 = self.create_change_indicator(param.name) description = wx.StaticText(self, label=param.description) + description.Wrap(150) description.SetToolTip(param.tooltip) if param.select_items is not None: @@ -694,11 +695,8 @@ class SettingsPanel(wx.Panel): self.SetSizer(sizer_1) sizer_1.Fit(self) - # prevent the param dialog to become smaller than 500*400 - # 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(600, 400) + # prevent the param dialog to become smaller than 350*100 + self.SetSizeHints(350, 100) self.Layout() # end wxGlade |
