Skip to content

Commit

Permalink
wxGUI: fix layout flag assert in wms dialog (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Jul 26, 2021
1 parent 5a97bbe commit e7214f3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions gui/wxpython/web_services/dialogs.py
Expand Up @@ -993,9 +993,12 @@ def _addSelectSizer(self, title, sel):
selSizer.Add(selTitleSizer, proportion=0,
flag=wx.EXPAND)

selSizer.Add(sel, proportion=1,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER_VERTICAL,
border=5)
selSizer.Add(
sel,
proportion=1,
flag=wx.EXPAND | wx.ALL,
border=5,
)

return selSizer

Expand Down

0 comments on commit e7214f3

Please sign in to comment.