aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ScrollLabel.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-09 11:32:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-09 11:32:35 +0000
commitd7c4babd6e6040f085d118086d03419036c31b48 (patch)
tree74a19383f54ea658878abbb9e21862f65e6b01ad /lib/python/Components/ScrollLabel.py
parent29ec53f34486f08c1655b64ba95a949c1e1094af (diff)
downloadenigma2-d7c4babd6e6040f085d118086d03419036c31b48.tar.gz
enigma2-d7c4babd6e6040f085d118086d03419036c31b48.zip
trade Color and transparent skin attributes to parent widget and embedded
scrollbar too
Diffstat (limited to 'lib/python/Components/ScrollLabel.py')
-rw-r--r--lib/python/Components/ScrollLabel.py6
1 files changed, 6 insertions, 0 deletions
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())