diff options
| author | acid-burn <acidburn@opendreambox.org> | 2009-11-11 10:34:46 +0100 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2009-11-11 10:34:46 +0100 |
| commit | 4e7d6e39131395019b612d477ac4c563118121f5 (patch) | |
| tree | 7e31f7a5a9ba027c9e1114269a0e07e3e53da3a5 /skin.py | |
| parent | 3c95a4fba21a6925cbefad5066785b80d88c4659 (diff) | |
| download | enigma2-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.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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": |
