MiRCARTFrame.py: add canvas panel window to sizer w/ border width 14.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-01-10 22:16:48 +01:00
parent 33df272b39
commit e53e8bf8e7

View File

@ -221,7 +221,7 @@ class MiRCARTFrame(MiRCARTGeneralFrame):
defaultCellSize=defaultCellSize) defaultCellSize=defaultCellSize)
self.panelCanvas.canvasInterface.canvasNew(None) self.panelCanvas.canvasInterface.canvasNew(None)
self.sizerSkin.AddSpacer(5) self.sizerSkin.AddSpacer(5)
self.sizerSkin.Add(self.panelCanvas, wx.ALL|wx.EXPAND) self.sizerSkin.Add(self.panelCanvas, 0, wx.ALL|wx.EXPAND, 14)
self.panelSkin.SetSizer(self.sizerSkin) self.panelSkin.SetSizer(self.sizerSkin)
self.panelSkin.SetAutoLayout(1) self.panelSkin.SetAutoLayout(1)
self.sizerSkin.Fit(self.panelSkin) self.sizerSkin.Fit(self.panelSkin)