[GRASS-git] [OSGeo/grass] d7c3b5: wxGUI: fix 'SpinCtrl' widget size (#1339)
Tomas Zigo
noreply at github.com
Mon Apr 18 06:58:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d7c3b5ae9aebd2735cbe77faa719843d414f6a9d
https://github.com/OSGeo/grass/commit/d7c3b5ae9aebd2735cbe77faa719843d414f6a9d
Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
Date: 2022-04-18 (Mon, 18 Apr 2022)
Changed paths:
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/wrap.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/vdigit/dialogs.py
M gui/wxpython/vdigit/preferences.py
M gui/wxpython/vnet/dialogs.py
Log Message:
-----------
wxGUI: fix 'SpinCtrl' widget size (#1339)
In general, using sizers and not setting size explicitly works best, so I changed the SpinCtrl wrapper to (on gtk) ignore size parameter if it's smaller than the minimum you identified, so that we don't have to remove all the size parameters directly. I removed couple size settings which were greater than the minimum and would likely cause troubles. This should help with getting rid of many Gtk-critical messages.
More information about the grass-commit
mailing list