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/ChoiceList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/ChoiceList.py') diff --git a/lib/python/Components/ChoiceList.py b/lib/python/Components/ChoiceList.py index a2070c7d..a7a5e483 100644 --- a/lib/python/Components/ChoiceList.py +++ b/lib/python/Components/ChoiceList.py @@ -24,11 +24,11 @@ class ChoiceList(MenuList, HTMLComponent, GUIComponent): self.list = list self.l.setList(list) self.l.setFont(0, gFont("Regular", 20)) + self.l.setItemHeight(25) self.selection = selection GUI_WIDGET = eListbox def postWidgetCreate(self, instance): instance.setContent(self.l) - instance.setItemHeight(25) self.moveToIndex(self.selection) -- cgit v1.2.3