Skip to content

Commit

Permalink
wxGUI/vclean: fix StaticLine widget parent win (#3056)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 7, 2023
1 parent 2632cd6 commit 0a236d9
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions gui/wxpython/modules/vclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,16 +316,22 @@ def _layout(self):
sizer.Add(outSizer, proportion=0,
flag=wx.ALL | wx.EXPAND, border=5)

sizer.Add(wx.StaticLine(parent=self, id=wx.ID_ANY,
style=wx.LI_HORIZONTAL), proportion=0,
flag=wx.EXPAND | wx.ALL, border=5)
sizer.Add(
wx.StaticLine(parent=self.panel, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
proportion=0,
flag=wx.EXPAND | wx.ALL,
border=5,
)

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

sizer.Add(wx.StaticLine(parent=self, id=wx.ID_ANY,
style=wx.LI_HORIZONTAL), proportion=0,
flag=wx.EXPAND | wx.ALL, border=5)
sizer.Add(
wx.StaticLine(parent=self.panel, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
proportion=0,
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 0a236d9

Please sign in to comment.