Author: ArcRiley
Date: 2007-07-06 17:51:46 -0400 (Fri, 06 Jul 2007)
New Revision: 384
Modified:
trunk/pysoy/src/widgets/Widget.pxi
Log:
ticket #270 - life is great when bugs can be fixed this easily (aspect now does
the right thing)
Modified: trunk/pysoy/src/widgets/Widget.pxi
===================================================================
--- trunk/pysoy/src/widgets/Widget.pxi 2007-07-06 21:48:56 UTC (rev 383)
+++ trunk/pysoy/src/widgets/Widget.pxi 2007-07-06 21:51:46 UTC (rev 384)
@@ -83,7 +83,7 @@
_mt = _mb + _height - (self._marginBottom + self._marginTop)
if self._aspectRatio :
_aspect = <float> (_mr - _ml) / <float> (_mt - _mb)
- if _aspect > self._aspectRatio :
+ if _aspect < self._aspectRatio :
# Wide aspect == full width, aligned by height
self._xpos = _ml
self._width = _mr - _ml
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn