bugfix
This commit is contained in:
parent
5001f26112
commit
9cb2b916eb
@ -56,7 +56,7 @@ class WidgetCSS(object):
|
|||||||
app = App.get_running_app()
|
app = App.get_running_app()
|
||||||
for css_name in css_str.split(' '):
|
for css_name in css_str.split(' '):
|
||||||
css.update(app.get_css(css_name))
|
css.update(app.get_css(css_name))
|
||||||
Logger.info('WidgetCSS:set_css():%s',css.keys())
|
# Logger.info('WidgetCSS:set_css():%s',css.keys())
|
||||||
for k,v in css.items():
|
for k,v in css.items():
|
||||||
setattr(self,k,v)
|
setattr(self,k,v)
|
||||||
|
|
||||||
@ -130,8 +130,8 @@ class WidgetCSS(object):
|
|||||||
# self.__class__.__name__)
|
# self.__class__.__name__)
|
||||||
return
|
return
|
||||||
if not self.canvas:
|
if not self.canvas:
|
||||||
Logger.info('WidgetCSS: set_bg_color(), canvas is null(%s)',
|
#Logger.info('WidgetCSS: set_bg_color(), canvas is null(%s)',
|
||||||
self.__class__.__name__)
|
# self.__class__.__name__)
|
||||||
return
|
return
|
||||||
|
|
||||||
with self.canvas.before:
|
with self.canvas.before:
|
||||||
|
Loading…
Reference in New Issue
Block a user