Skip to content

Commit

Permalink
wxGUI/locwizard: fix flags for wxPython 4.1 (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Feb 13, 2021
1 parent 50a0d5f commit b10a893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/location_wizard/dialogs.py
Expand Up @@ -649,7 +649,7 @@ def __init__(self, parent, transforms,
bodySizer.Add(
self.translist,
proportion=1,
flag=wx.ALIGN_CENTER | wx.ALL | wx.EXPAND)
flag=wx.ALL | wx.EXPAND)

#
# buttons
Expand All @@ -665,7 +665,7 @@ def __init__(self, parent, transforms,
btnsizer.Realize()

sizer.Add(bodySizer, proportion=1,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
flag=wx.EXPAND | wx.ALL, border=5)

sizer.Add(btnsizer, proportion=0,
flag=wx.ALL | wx.ALIGN_RIGHT, border=5)
Expand Down

0 comments on commit b10a893

Please sign in to comment.