From: Andreas Monzner Date: Fri, 9 Nov 2007 11:32:35 +0000 (+0000) Subject: trade Color and transparent skin attributes to parent widget and embedded X-Git-Tag: 2.6.0~1745 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d7c4babd6e6040f085d118086d03419036c31b48 trade Color and transparent skin attributes to parent widget and embedded scrollbar too --- diff --git a/lib/python/Components/ScrollLabel.py b/lib/python/Components/ScrollLabel.py index d5924b88..fb89e411 100644 --- a/lib/python/Components/ScrollLabel.py +++ b/lib/python/Components/ScrollLabel.py @@ -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())