[GRASS-SVN] r69827 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 14 06:04:07 PST 2016


Author: marisn
Date: 2016-11-14 06:04:06 -0800 (Mon, 14 Nov 2016)
New Revision: 69827

Modified:
   grass/trunk/gui/wxpython/gui_core/dialogs.py
Log:
Do not fiddle with button size as default works better (shows full length translated strings on the button)

Modified: grass/trunk/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/dialogs.py	2016-11-14 13:58:14 UTC (rev 69826)
+++ grass/trunk/gui/wxpython/gui_core/dialogs.py	2016-11-14 14:04:06 UTC (rev 69827)
@@ -2349,7 +2349,6 @@
         self.btnClose.SetFocus()
         self.btnQuit = wx.Button(parent=self.panel, id=wx.ID_YES,
                                  label=_("Quit GRASS GIS"))
-        self.btnQuit.SetMinSize((130, self.btnQuit.GetSize()[1]))
         self.btnQuit.SetForegroundColour(wx.Colour(35, 142, 35))
 
         self.btnClose.Bind(wx.EVT_BUTTON, self.OnClose)



More information about the grass-commit mailing list