Skip to content

Commit

Permalink
[EpgBouquetList] Scale itemheight and font based on skin resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Feb 19, 2022
1 parent 58081ae commit cd7e02e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/Components/EpgBouquetList.py
Expand Up @@ -4,7 +4,7 @@

from enigma import eEPGCache, eListbox, eListboxPythonMultiContent, gFont, eRect, eSize, RT_HALIGN_LEFT, RT_HALIGN_RIGHT, RT_HALIGN_CENTER, RT_VALIGN_CENTER, RT_VALIGN_TOP, RT_WRAP, BT_SCALE, BT_KEEP_ASPECT_RATIO, BT_ALIGN_CENTER

from skin import parseColor, parseFont, parseScale
from skin import parseColor, parseFont, parseScale, applySkinFactor
from Components.GUIComponent import GUIComponent
from Components.MultiContent import MultiContentEntryText, MultiContentEntryPixmapAlphaBlend
from Tools.Alternatives import CompareWithAlternatives
Expand Down Expand Up @@ -33,9 +33,9 @@ def __init__(self, graphic=False):
self.graphicsloaded = False

self.bouquetFontName = "Regular"
self.bouquetFontSize = 20
self.bouquetFontSize = applySkinFactor(20)

self.itemHeight = 31
self.itemHeight = applySkinFactor(31)
self.listHeight = None
self.listWidth = None

Expand Down

0 comments on commit cd7e02e

Please sign in to comment.