diff --git a/kivyblocks/widget_css.py b/kivyblocks/widget_css.py index 4f62e83..fc6a453 100644 --- a/kivyblocks/widget_css.py +++ b/kivyblocks/widget_css.py @@ -28,7 +28,10 @@ class WidgetCSS(object): self.set_background_color() def on_size(self, o, s): - super(WidgetCSS, self).on_size(o, s) + try: + super(WidgetCSS, self).on_size(o, s) + except: + pass self.set_background_color() def on_pos(self, o, p):