瀏覽代碼

wxGUI: define min size for TextLayerDialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62656 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
4297908191
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      gui/wxpython/mapwin/decorations.py

+ 2 - 0
gui/wxpython/mapwin/decorations.py

@@ -407,6 +407,8 @@ class TextLayerDialog(wx.Dialog):
         self.Bind(wx.EVT_TEXT,       self.OnText,       self.textentry)
         self.Bind(wx.EVT_SPINCTRL,   self.OnRotation,   self.rotation)
 
+        self.SetMinSize((400, 230))
+        
     def OnRefit(self, event):
         """Resize text entry to match text"""
         self.sizer.Fit(self)