From 4e7d6e39131395019b612d477ac4c563118121f5 Mon Sep 17 00:00:00 2001 From: acid-burn Date: Wed, 11 Nov 2009 10:34:46 +0100 Subject: [PATCH] skin.py: -add itemHeight as skin attribute possibility, allowing overriding list itemheights. #249_followup --- skin.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 skin.py diff --git a/skin.py b/skin.py old mode 100644 new mode 100755 index 5b8ce65..064fd21 --- 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": -- 2.7.4