fix widget

This commit is contained in:
Mathieu Virbel 2010-11-06 16:10:56 -04:00
parent e97bc15c03
commit fc6f5757af
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class Widget(EventDispatcher):
center_y = AliasProperty(get_center_y, set_center_y, bind=(y, height)) center_y = AliasProperty(get_center_y, set_center_y, bind=(y, height))
#: Center position of the widget (x + width / 2, y + height / 2) #: Center position of the widget (x + width / 2, y + height / 2)
center = ListProperty(center_x, center_y) center = ReferenceListProperty(center_x, center_y)
#: Class of the widget, used for style #: Class of the widget, used for style
cls = ListProperty([]) cls = ListProperty([])