Skip to content

Commit

Permalink
wx.metadata/g.gui.metadata: fix profile wx.ComboBox widget layout (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 10, 2020
1 parent f94da05 commit c3f0200
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,17 @@ def _layout(self):

self.configPanelLeftSizer = wx.BoxSizer(wx.VERTICAL)
self.configPanelLeft.SetSizer(self.configPanelLeftSizer)
self.configPanelLeftSizer.Add(self.rbGrass)
self.configPanelLeftSizer.Add(self.rbExternal)
self.configPanelLeftSizer.Add(self.comboBoxProfile)
self.configPanelLeft.SetSizer(self.configPanelLeftSizer)
self.configPanelLeftSizer.Add(
self.rbGrass, proportion=0, flag=wx.LEFT, border=10,
)
self.configPanelLeftSizer.Add(
self.rbExternal, proportion=0, flag=wx.LEFT, border=10,
)
self.configPanelLeftSizer.Add(
self.comboBoxProfile, proportion=0, flag=wx.LEFT | wx.TOP |
wx.BOTTOM, border=10,
)
self.configPanelLeft.SetSizerAndFit(self.configPanelLeftSizer)

self.leftPanelSizer = wx.BoxSizer(wx.VERTICAL)
self.leftPanel.SetSizer(self.leftPanelSizer)
Expand Down

0 comments on commit c3f0200

Please sign in to comment.