This commit is contained in:
yumoqing 2021-07-02 19:49:37 +08:00
parent 3a06a0b5ff
commit a819ebcff8

View File

@ -28,7 +28,10 @@ class WidgetCSS(object):
self.set_background_color() self.set_background_color()
def on_size(self, o, s): 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() self.set_background_color()
def on_pos(self, o, p): def on_pos(self, o, p):