Moved the chromeTabs add button a little bit lower (it looks less awkward now)

This commit is contained in:
HomeWorld
2011-02-26 16:28:24 +02:00
parent 753059ad1b
commit 894fb034f7

View File

@@ -1126,7 +1126,7 @@ class PFTabsContainer(wx.Panel):
selpos = pos
if selected is not skipTab:
selected.SetPosition((selpos, self.containerHeight - self.height))
self.addButton.SetPosition((round(tabsWidth) + self.inclination*2, self.containerHeight - self.height/2 - self.addButton.GetHeight()/2))
self.addButton.SetPosition((round(tabsWidth) + self.inclination*2, self.containerHeight - self.height/2 - self.addButton.GetHeight()/3))
def OnLeaveWindow(self, event):
if self.previewWnd: