<screen name="Mute" flags="wfNoBorder" position="100,100" size="59,80" title="Mute">
<ePixmap position="0,0" size="59,80" pixmap="/usr/share/enigma2/mute-fs8.png" />
</screen>
- <screen name="ChannelSelection" position="90,100" size="560,450" title="Channel Selection">
- <widget name="list" position="10,50" size="540,400" />
-<!-- <widget name="okbutton" position="340,50" size="140,30" />-->
+ <screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
+ <widget name="list" position="10,45" size="540,364" />
<widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Arial;21" />
<widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Arial;21" />
<widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Arial;21" />
def setMode(self, mode):
if mode == self.MODE_NORMAL:
- self.instance.setItemHeight(25)
+ self.instance.setItemHeight(28)
self.l.setVisualMode(eListboxServiceContent.visModeSimple)
+ self.l.setElementFont(self.l.celServiceName, gFont("Arial", 22))
+ self.l.setElementPosition(self.l.celServiceName, eRect(0, 0, self.instance.size().width(), 28))
else:
- self.instance.setItemHeight(40)
- self.l.setElementFont(self.l.celServiceName, gFont("Arial", 30))
- self.l.setElementPosition(self.l.celServiceName, eRect(40, 0, self.instance.size().width(), 40))
+ self.instance.setItemHeight(28)
+ self.l.setElementFont(self.l.celServiceName, gFont("Arial", 22))
+ self.l.setElementPosition(self.l.celServiceName, eRect(50, 0, self.instance.size().width(), 28))
self.l.setElementFont(self.l.celServiceNumber, gFont("Arial", 20))
- self.l.setElementPosition(self.l.celServiceNumber, eRect(0, 10, 40, 30))
+ self.l.setElementPosition(self.l.celServiceNumber, eRect(0, 2, 50, 28))
self.l.setVisualMode(eListboxServiceContent.visModeComplex)