Jelajahi Sumber

wxGUI: map window size changed to accommodate vdigit toolbar (gnome)
(merge from relbr64, https://trac.osgeo.org/grass/changeset/36988)


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

Martin Landa 16 tahun lalu
induk
melakukan
aa1dbea7f0

+ 1 - 1
gui/wxpython/gui_modules/globalvar.py

@@ -89,7 +89,7 @@ DIALOG_GSELECT_SIZE = (400, -1)
 DIALOG_TEXTCTRL_SIZE = (400, -1)
 DIALOG_LAYER_SIZE = (100, -1)
 
-MAP_WINDOW_SIZE = (760, 570)
+MAP_WINDOW_SIZE = (770, 570)
 HIST_WINDOW_SIZE = (500, 350)
 
 MAP_DISPLAY_STATUSBAR_MODE = [_("Coordinates"),

+ 1 - 1
gui/wxpython/gui_modules/toolbars.py

@@ -1233,7 +1233,7 @@ class VDigitToolbar(AbstractToolbar):
 
             if not self.comboid:
                 self.combo = wx.ComboBox(self.toolbar[self.numOfRows-1], id=wx.ID_ANY, value=value,
-                                         choices=[_('New vector map'), ] + layerNameList, size=(105, -1),
+                                         choices=[_('New vector map'), ] + layerNameList, size=(85, -1),
                                          style=wx.CB_READONLY)
                 self.comboid = self.toolbar[self.numOfRows-1].InsertControl(0, self.combo)
                 self.parent.Bind(wx.EVT_COMBOBOX, self.OnSelectMap, self.comboid)