[Scummvm-cvs-logs] SF.net SVN: scummvm: [23129] scummvm/branches/branch-0-9-0/gui/TabWidget.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Thu Jun 15 14:13:19 CEST 2006


Revision: 23129
Author:   sev
Date:     2006-06-15 05:12:31 -0700 (Thu, 15 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23129&view=rev

Log Message:
-----------
Fix bug with tab navigation buttons jumping on resolution change.

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/gui/TabWidget.cpp
Modified: scummvm/branches/branch-0-9-0/gui/TabWidget.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/gui/TabWidget.cpp	2006-06-15 12:09:53 UTC (rev 23128)
+++ scummvm/branches/branch-0-9-0/gui/TabWidget.cpp	2006-06-15 12:12:31 UTC (rev 23129)
@@ -203,8 +203,8 @@
 	_butW = g_gui.evaluator()->getVar("TabWidget.navButtonW", 10);
 	_butH = g_gui.evaluator()->getVar("TabWidget.navButtonH", 10);
 
-	int x = _w - _butRP - _butW * 2 - 2 - _boss->getChildX();
-	int y = _butTP - _boss->getChildY() - _tabHeight;
+	int x = _w - _butRP - _butW * 2 - 2;
+	int y = _butTP - _tabHeight;
 	_navLeft->resize(x, y, _butW, _butH);
 	_navRight->resize(x + _butW + 2, y, _butW, _butH);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list