Author: ArcRiley
Date: 2007-07-06 17:48:08 -0400 (Fri, 06 Jul 2007)
New Revision: 382
Modified:
trunk/pysoy/src/widgets/Widget.pxi
Log:
Oops - .aspect was returning the size
Modified: trunk/pysoy/src/widgets/Widget.pxi
===================================================================
--- trunk/pysoy/src/widgets/Widget.pxi 2007-07-06 21:37:20 UTC (rev 381)
+++ trunk/pysoy/src/widgets/Widget.pxi 2007-07-06 21:48:08 UTC (rev 382)
@@ -150,7 +150,7 @@
Defaults to disabled (0.0)
'''
def __get__(self) :
- return (self._width, self._height)
+ return self._aspectRatio
def __set__(self, aspect) :
if aspect < 0.0 :
raise ValueError('aspect cannot be negetive')
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn