[GRASS-SVN] r71245 - grass/branches/releasebranch_7_2/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 8 18:14:18 PDT 2017


Author: annakrat
Date: 2017-07-08 18:14:18 -0700 (Sat, 08 Jul 2017)
New Revision: 71245

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/gui_core/dialogs.py
Log:
wxGUI: make opacity dialog resizable (merge from trunk, r71244)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gui_core/dialogs.py	2017-07-09 01:11:40 UTC (rev 71244)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gui_core/dialogs.py	2017-07-09 01:14:18 UTC (rev 71245)
@@ -1746,7 +1746,7 @@
 
     def __init__(self, parent, id=wx.ID_ANY, title=_("Set Map Layer Opacity"),
                  size=wx.DefaultSize, pos=wx.DefaultPosition,
-                 style=wx.DEFAULT_DIALOG_STYLE, opacity=1):
+                 style=wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER, opacity=1):
 
         self.parent = parent    # GMFrame
         self.opacity = opacity  # current opacity



More information about the grass-commit mailing list