From ead18eb53880ecff8c41fa2e2db7ae87e2b950de Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 12 Apr 2007 19:50:53 +0000 Subject: follow itemHeight changes --- lib/python/Components/SelectionList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/SelectionList.py') diff --git a/lib/python/Components/SelectionList.py b/lib/python/Components/SelectionList.py index 1500254a..6019fffa 100644 --- a/lib/python/Components/SelectionList.py +++ b/lib/python/Components/SelectionList.py @@ -19,12 +19,12 @@ class SelectionList(MenuList, GUIComponent): self.list = list self.setList(list) self.l.setFont(0, gFont("Regular", 20)) + self.l.setItemHeight(30) GUI_WIDGET = eListbox def postWidgetCreate(self, instance): instance.setContent(self.l) - instance.setItemHeight(30) def addSelection(self, description, value, index, selected = True): self.list.append(SelectionEntryComponent(description, value, index, selected)) -- cgit v1.2.3