Skip to content

Commit

Permalink
[ChoiceList] tweak OpenViX/enigma2@473763e
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Oct 7, 2023
1 parent dd24837 commit 3a5c0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/ChoiceList.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def ChoiceEntryComponent(key=None, text=None):
else:
res.append((eListboxPythonMultiContent.TYPE_TEXT, x, y, w, h, 0, RT_HALIGN_LEFT, "-" * 200))
else:
x, y, w, h = parameters.get("ChoicelistName", applySkinFactor(45, 2, 800, 25))
res.append((eListboxPythonMultiContent.TYPE_TEXT, x, y, w, h, 0, RT_HALIGN_LEFT, text[0]))
if key:
x, y, w, h = parameters.get("ChoicelistName", applySkinFactor(45, 2, 800, 25))
res.append((eListboxPythonMultiContent.TYPE_TEXT, x, y, w, h, 0, RT_HALIGN_LEFT, text[0]))
# separate the sizes definition for keybutton is=cons and the rest so there to be possibility to use different size images for different type icons
iconKeyConfigName = "ChoicelistIcon"
if key == "expandable":
Expand Down

0 comments on commit 3a5c0ec

Please sign in to comment.