[GRASS-git] [OSGeo/grass] 41092a: wxGUI: fix 'SpinCtrl' widget size (#1339)

Tomas Zigo noreply at github.com
Thu Apr 21 00:01:40 PDT 2022


  Branch: refs/heads/releasebranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: 41092ab4e2716e77af02c7a330aaf834caa15e04
      https://github.com/OSGeo/grass/commit/41092ab4e2716e77af02c7a330aaf834caa15e04
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2022-04-21 (Thu, 21 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