invent proper signalPowerdB enums and use them
[enigma2.git] / lib / python / Components / SelectionList.py
index 1500254a0fda0c230619f015d808b714cbfc1e00..6019fffab40d7bb1d0c361201502fe673cf82d8d 100644 (file)
@@ -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))