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/FileList.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/FileList.py') diff --git a/lib/python/Components/FileList.py b/lib/python/Components/FileList.py index b85b8ea3..01358d53 100644 --- a/lib/python/Components/FileList.py +++ b/lib/python/Components/FileList.py @@ -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) -- cgit v1.2.3