aboutsummaryrefslogtreecommitdiff
path: root/skin.py
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2009-11-11 10:34:46 +0100
committeracid-burn <acidburn@opendreambox.org>2009-11-11 10:34:46 +0100
commit4e7d6e39131395019b612d477ac4c563118121f5 (patch)
tree7e31f7a5a9ba027c9e1114269a0e07e3e53da3a5 /skin.py
parent3c95a4fba21a6925cbefad5066785b80d88c4659 (diff)
downloadenigma2-4e7d6e39131395019b612d477ac4c563118121f5.tar.gz
enigma2-4e7d6e39131395019b612d477ac4c563118121f5.zip
skin.py: -add itemHeight as skin attribute possibility, allowing overriding list itemheights. #249_followup
Diffstat (limited to 'skin.py')
-rwxr-xr-x[-rw-r--r--]skin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/skin.py b/skin.py
index 5b8ce650..064fd219 100644..100755
--- a/skin.py
+++ b/skin.py
@@ -148,6 +148,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value, scale = ((1,1),(1,1)
guiObject.setFont(parseFont(value, scale))
elif attrib == 'zPosition':
guiObject.setZPosition(int(value))
+ elif attrib == 'itemHeight':
+ guiObject.setItemHeight(int(value))
elif attrib in ("pixmap", "backgroundPixmap", "selectionPixmap"):
ptr = loadPixmap(value, desktop) # this should already have been filename-resolved.
if attrib == "pixmap":