فهرست منبع

wxGUI: fix 'protocol' button size
(merge https://trac.osgeo.org/grass/changeset/52013 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52014 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 13 سال پیش
والد
کامیت
cbafbcc617
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      gui/wxpython/gui_core/goutput.py

+ 2 - 1
gui/wxpython/gui_core/goutput.py

@@ -266,7 +266,8 @@ class GMConsole(wx.SplitterWindow):
         self.btnCmdAbort.SetToolTipString(_("Abort running command"))
         self.btnCmdAbort.Enable(False)
         self.btnCmdProtocol = wx.ToggleButton(parent = self.panelOutput, id = wx.ID_ANY,
-                                              label = _("&Protocol"))
+                                              label = _("&Protocol"),
+                                              size = self.btnCmdClear.GetSize())
         self.btnCmdProtocol.SetToolTipString(_("Toggle to save list of executed commands into file; "
                                                "content saved when switching off."))