X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FScrollLabel.py;h=109dc8e42bd689cc2766dfac84fcb1ba1b604c39;hp=d5924b88d9d3a51a3a69d23fc892b88bf96d706d;hb=6f73e6abddf4170357c490966d0e1c622eb376f5;hpb=994845aaa96600b2834471fa5593b8e1419e2d3d diff --git a/lib/python/Components/ScrollLabel.py b/lib/python/Components/ScrollLabel.py index d5924b8..109dc8e 100644 --- a/lib/python/Components/ScrollLabel.py +++ b/lib/python/Components/ScrollLabel.py @@ -17,6 +17,15 @@ class ScrollLabel(HTMLComponent, GUIComponent): ret = False if self.skinAttributes is not None: skin.applyAllAttributes(self.long_text, desktop, self.skinAttributes) + widget_attribs = [ ] + scrollbar_attribs = [ ] + for (attrib, value) in self.skinAttributes: + if attrib.find("borderColor") != -1 or attrib.find("borderWidth") != -1: + scrollbar_attribs.append((attrib,value)) + if attrib.find("transparent") != -1 or attrib.find("backgroundColor") != -1: + widget_attribs.append((attrib,value)) + skin.applyAllAttributes(self.instance, desktop, widget_attribs) + skin.applyAllAttributes(self.scrollbar, desktop, scrollbar_attribs+widget_attribs) ret = True s = self.long_text.size() self.instance.move(self.long_text.position())