From df282d2976f2e476d20d66f7b49ae6426746a5b7 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Mon, 16 May 2011 17:31:27 +0300 Subject: [PATCH] Fixed a bug in chromeTabs page resize --- gui/chromeTabs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/chromeTabs.py b/gui/chromeTabs.py index 33e7b8c7b..8c1eb2e46 100644 --- a/gui/chromeTabs.py +++ b/gui/chromeTabs.py @@ -221,10 +221,10 @@ class PFNotebook(wx.Panel): size = self.pageContainer.GetSize() bx, by = self.GetBorders() ww,wh = size - ww -= bx * 4 if 'wxGTK' in wx.PlatformInfo else 6 - wh -= by * 4 if 'wxGTK' in wx.PlatformInfo else 6 + ww -= bx * 4 + wh -= by * 4 self.activePage.SetSize((ww,wh)) - self.activePage.SetPosition((bx,by)) + self.activePage.SetPosition((0,0)) self.activePage.Show() self.Layout()