Commit 13591644 authored by Guillaume Seguin's avatar Guillaume Seguin

Fixed extrude/reverse buttons positionning in tabbed mode

parent 6ae222de
...@@ -134,11 +134,12 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None): ...@@ -134,11 +134,12 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None):
root.htemp.SetValue(root.htemp.Value + ' (user)') root.htemp.SetValue(root.htemp.Value + ' (user)')
root.tempdisp = wx.StaticText(parentpanel,-1, "") root.tempdisp = wx.StaticText(parentpanel,-1, "")
ebuttonspanel = root.newPanel(parentpanel) if not extra_buttons:
ebuttonssizer = wx.BoxSizer(wx.HORIZONTAL) ebuttonspanel = root.newPanel(parentpanel)
ebuttonspanel.SetSizer(ebuttonssizer) ebuttonssizer = wx.BoxSizer(wx.HORIZONTAL)
self.Add(ebuttonspanel, pos = (base_line + 2, 0), span = (1, 5), flag = wx.EXPAND) ebuttonspanel.SetSizer(ebuttonssizer)
self.Add(ebuttonspanel, pos = (base_line + 2, 0), span = (1, 5), flag = wx.EXPAND)
esettingspanel = root.newPanel(parentpanel) esettingspanel = root.newPanel(parentpanel)
esettingssizer = wx.BoxSizer(wx.HORIZONTAL) esettingssizer = wx.BoxSizer(wx.HORIZONTAL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment