Commit 5720479a authored by Guillaume Seguin's avatar Guillaume Seguin

Improve vizpane expanding

parent 5a430c56
...@@ -295,7 +295,7 @@ class VizPane(wx.BoxSizer): ...@@ -295,7 +295,7 @@ class VizPane(wx.BoxSizer):
bgcolor = root.settings.bgcolor) bgcolor = root.settings.bgcolor)
root.gwindow.Bind(wx.EVT_CLOSE, lambda x: root.gwindow.Hide()) root.gwindow.Bind(wx.EVT_CLOSE, lambda x: root.gwindow.Hide())
if not isinstance(root.gviz, NoViz): if not isinstance(root.gviz, NoViz):
self.Add(root.gviz.widget, 1, flag = wx.SHAPED | wx.ALIGN_CENTER_HORIZONTAL) self.Add(root.gviz.widget, 1, flag = wx.EXPAND | wx.ALIGN_CENTER_HORIZONTAL)
class LogPane(wx.BoxSizer): class LogPane(wx.BoxSizer):
......
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