Browse Source

wxGUI/about: set minimum window size

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50677 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
fd673fb35f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      gui/wxpython/gui_core/ghelp.py

+ 3 - 1
gui/wxpython/gui_core/ghelp.py

@@ -504,8 +504,10 @@ class AboutWindow(wx.Frame):
         sizer.Add(item = btnSizer, proportion = 0,
                   flag = wx.ALL | wx.ALIGN_RIGHT, border = 1)
         panel.SetSizer(sizer)
+        
         self.Layout()
-    
+        self.SetMinSize((500, 400))
+        
     def _pageCopyright(self):
         """Copyright information"""
         copyfile = os.path.join(os.getenv("GISBASE"), "COPYING")