X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/25b529dd304871c705456047049dd29935f1ffe3..5aca87ce699f59f418740a2f073f1056d8239dad:/lib/python/Components/PluginList.py diff --git a/lib/python/Components/PluginList.py b/lib/python/Components/PluginList.py index 9b9cfea8..3a3bef1e 100644 --- a/lib/python/Components/PluginList.py +++ b/lib/python/Components/PluginList.py @@ -1,12 +1,12 @@ -from HTMLComponent import * -from GUIComponent import * +from HTMLComponent import HTMLComponent +from GUIComponent import GUIComponent from MenuList import MenuList from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE -from Components.MultiContent import RT_HALIGN_LEFT, MultiContentEntryText, MultiContentEntryPixmapAlphaTest +from Components.MultiContent import MultiContentEntryText, MultiContentEntryPixmapAlphaTest -from enigma import * +from enigma import loadPNG, eListboxPythonMultiContent, eListbox, gFont def PluginEntryComponent(plugin): res = [ plugin ] @@ -52,9 +52,9 @@ class PluginList(MenuList, HTMLComponent, GUIComponent): self.l.setList(list) self.l.setFont(0, gFont("Regular", 20)) self.l.setFont(1, gFont("Regular", 14)) + self.l.setItemHeight(50) GUI_WIDGET = eListbox def postWidgetCreate(self, instance): instance.setContent(self.l) - instance.setItemHeight(50)