aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ChoiceList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/ChoiceList.py')
-rw-r--r--lib/python/Components/ChoiceList.py2
1 files changed, 1 insertions, 1 deletions
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)