Browse Source

wxGUI/menuform: expand also file browse widget
(merge from devbr6, https://trac.osgeo.org/grass/changeset/32948)


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

Martin Landa 16 năm trước cách đây
mục cha
commit
4f9cfde520
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

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

@@ -1205,7 +1205,7 @@ class cmdPanel(wx.Panel):
                     if p.get('value','') != '':
                         fbb.SetValue(p['value']) # parameter previously set
                     which_sizer.Add(item=fbb, proportion=0,
-                                    flag=wx.ADJUST_MINSIZE | wx.LEFT | wx.TOP | wx.RIGHT, border=-3)
+                                    flag=wx.EXPAND | wx.RIGHT, border=5)
                     # A file browse button is a combobox with two children:
                     # a textctl and a button;
                     # we have to target the button here