follow itemHeight changes
[enigma2.git] / lib / python / Components / FileList.py
index b85b8ea337548a79dbb054245113e90e06c693c5..01358d532fc0b51222e69cd98bdd2af953ea4fb4 100644 (file)
@@ -58,7 +58,8 @@ class FileList(MenuList, HTMLComponent, GUIComponent):
                self.changeDir(directory)
 
                self.l.setFont(0, gFont("Regular", 18))
-               
+               self.l.setItemHeight(23)
+
        def getSelection(self):
                if self.l.getCurrentSelection() is None:
                        return None
@@ -186,4 +187,3 @@ class FileList(MenuList, HTMLComponent, GUIComponent):
 
        def postWidgetCreate(self, instance):
                instance.setContent(self.l)
-               instance.setItemHeight(23)