trade Color and transparent skin attributes to parent widget and embedded
[enigma2.git] / lib / python / Components / ScrollLabel.py
index d5924b8..fb89e41 100644 (file)
@@ -17,6 +17,12 @@ class ScrollLabel(HTMLComponent, GUIComponent):
                ret = False
                if self.skinAttributes is not None:
                        skin.applyAllAttributes(self.long_text, desktop, self.skinAttributes)
+                       attribs = [ ]
+                       for (attrib, value) in self.skinAttributes:
+                               if attrib.find("Color") != -1 or attrib.find("transparent") != -1:
+                                       attribs.append((attrib,value))
+                       skin.applyAllAttributes(self.instance, desktop, attribs)
+                       skin.applyAllAttributes(self.scrollbar, desktop, attribs)
                        ret = True
                s = self.long_text.size()
                self.instance.move(self.long_text.position())