Skip to content
Snippets Groups Projects
Commit 186d8c50 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

ShellPanel was laying itself out incorrectly (missed during ControlPanel

-> ViewPanel port)
parent 23cdbf7b
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,6 @@ class ShellPanel(viewpanel.ViewPanel): ...@@ -48,7 +48,6 @@ class ShellPanel(viewpanel.ViewPanel):
overlayList, overlayList,
displayCtx) displayCtx)
shell = wxshell.Shell( shell = wxshell.Shell(
self, self,
introText=' FSLEyes python shell\n\n' introText=' FSLEyes python shell\n\n'
...@@ -73,15 +72,8 @@ class ShellPanel(viewpanel.ViewPanel): ...@@ -73,15 +72,8 @@ class ShellPanel(viewpanel.ViewPanel):
# #
font = shell.GetFont() font = shell.GetFont()
shell.SetFont(font.Larger()) shell.SetFont(font.Larger())
self.setCentrePanel(shell)
sizer = wx.BoxSizer(wx.HORIZONTAL)
self.SetSizer(sizer)
sizer.Add(shell, flag=wx.EXPAND, proportion=1)
self.SetMinSize((300, 200))
def destroy(self): def destroy(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment