Skip to content

Commit

Permalink
wxGUI: fix wx4.1 support for About GRASS GIS dialog (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason authored and petrasovaa committed Aug 12, 2020
1 parent cb25cd3 commit f43094c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions gui/wxpython/gui_core/ghelp.py
Expand Up @@ -105,9 +105,7 @@ def __init__(self, parent, size=(770, 460),

def _doLayout(self):
btnSizer = wx.BoxSizer(wx.HORIZONTAL)
btnSizer.Add(self.btnClose, proportion=0,
flag=wx.ALL | wx.ALIGN_RIGHT,
border=5)
btnSizer.Add(self.btnClose, proportion=0, flag=wx.ALL, border=5)

sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(self.aboutNotebook, proportion=1,
Expand Down Expand Up @@ -226,10 +224,7 @@ def _pageInfo(self):

infoGridSizer.AddGrowableCol(0)
infoGridSizer.AddGrowableCol(1)
infoSizer.Add(
infoGridSizer,
proportion=1,
flag=wx.EXPAND | wx.ALIGN_CENTER | wx.ALIGN_CENTER_VERTICAL)
infoSizer.Add(infoGridSizer, proportion=1, flag=wx.EXPAND)

row += 2
infoGridSizer.Add(StaticText(parent=infoTxt, id=wx.ID_ANY,
Expand Down

0 comments on commit f43094c

Please sign in to comment.