[GRASS-SVN] r49248 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 14 13:36:31 EST 2011


Author: martinl
Date: 2011-11-14 10:36:31 -0800 (Mon, 14 Nov 2011)
New Revision: 49248

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: some cosmetics in import/external link dialogs


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2011-11-14 18:33:42 UTC (rev 49247)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2011-11-14 18:36:31 UTC (rev 49248)
@@ -1531,19 +1531,20 @@
         btnsizer = wx.BoxSizer(orient = wx.HORIZONTAL)
         
         btnsizer.Add(item = self.btn_cmd, proportion = 0,
-                     flag = wx.ALL | wx.ALIGN_CENTER,
+                     flag = wx.RIGHT | wx.ALIGN_CENTER,
                      border = 10)
         
-        btnsizer.Add(item = self.btn_run, proportion = 0,
-                     flag = wx.ALL | wx.ALIGN_CENTER,
+        btnsizer.Add(item = self.btn_cancel, proportion = 0,
+                     flag = wx.LEFT | wx.RIGHT | wx.ALIGN_CENTER,
                      border = 10)
         
-        btnsizer.Add(item = self.btn_cancel, proportion = 0,
-                     flag = wx.ALL | wx.ALIGN_CENTER,
+        btnsizer.Add(item = self.btn_run, proportion = 0,
+                     flag = wx.RIGHT | wx.ALIGN_CENTER,
                      border = 10)
         
         dialogSizer.Add(item = btnsizer, proportion = 0,
-                        flag = wx.ALIGN_CENTER)
+                        flag = wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM | wx.ALIGN_RIGHT,
+                        border = 10)
         
         # dialogSizer.SetSizeHints(self.panel)
         self.panel.SetAutoLayout(True)



More information about the grass-commit mailing list