diff --git a/gui/graphFrame.py b/gui/graphFrame.py index 5c30b127c..ba447b77a 100644 --- a/gui/graphFrame.py +++ b/gui/graphFrame.py @@ -41,7 +41,6 @@ class GraphFrame(wx.Frame): i = wx.IconFromBitmap(bitmapLoader.getBitmap("graphs_small", "icons")) self.SetIcon(i) - self.SetMinSize((520,390)) self.mainFrame = gui.mainFrame.MainFrame.getInstance() self.CreateStatusBar() @@ -100,6 +99,9 @@ class GraphFrame(wx.Frame): self.mainFrame.Bind(gui.builtinViews.fittingView.FIT_CHANGED, self.draw) self.Bind(wx.EVT_CLOSE, self.close) + self.Fit() + self.SetMinSize(self.GetSize()) + def handleDrag(self, type, fitID): if type == "fit": self.AppendFitToList(fitID)