Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ViX_Misc] TimerList.py & screen name="TimerEditList" : timer icon size

Orlandox

ViX Beta Tester
Joined
Nov 6, 2020
Messages
1,287
Reaction score
36
Points
48
Location
Finland
Hello,

is it possible to increaze the area/size of timer icons of TimerList.py (self.iconWidth & self.iconHeight). They are 30*30 pizels, but TimerEditList shows only size 20*20 pixels.
Maybe with a parameter of the skin ?
See attachment of Power Timer:

Virta-ajastuslista_S1080_mod.webp
 
You need to get the excerpt of the log while opening the screen.
 
< 32807.2074> 15:28:03.2635 [ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
< 32807.2188> 15:28:03.2749 [Skin] Processing screen 'TimerEditList', position=(0, 0), size=(1920 x 1080) for module 'PowerTimerEditList'.
< 32807.2359> 15:28:03.2920 [Skin] No skin to read or screen to display.
< 32807.2369> 15:28:03.2929 [Skin] Processing screen '<embedded-in-PowerTimerEditListSummary>', position=(?, ?), size=(? x ?) for module 'PowerTimerEditListSummary'.
< 32807.5390> 15:28:03.5951 [eInputDeviceInit] 0 160 (352) 1
< 32807.5391> 15:28:03.5951 [eRCDeviceInputDev] emit: 0

Repeat icon looks like this (30*30)
timer_rep.webp
 
Last edited:
Changing line 84 of PowerTimerList.py : res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHABLEND, 2, self.rowSplit, 20, 20, self.iconRepeat))

to

res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHABLEND, 2, self.rowSplit, self.iconWidth, self.iconHeight, self.iconRepeat))

fixes the problem.

Can someone commit this change ?
 
Hello,

can you also fix the size of the state at PowerTimerList.py line 119, because at font size 30, the state does not show completely (at least on Finnish language) ?

res.append((eListboxPythonMultiContent.TYPE_TEXT, self.iconMargin + self.iconWidth, self.rowSplit, 126, height - self.rowSplit, 2, RT_HALIGN_LEFT | RT_VALIGN_BOTTOM, state))

to

res.append((eListboxPythonMultiContent.TYPE_TEXT, self.iconMargin + self.iconWidth, self.rowSplit, 180, height - self.rowSplit, 2, RT_HALIGN_LEFT | RT_VALIGN_BOTTOM, state))

Thank You !

P.S. The problematic state is "Käynnissä..." (= Running...)
 
Last edited:
You know you can go to github and do an edit like that directly online?
 

OpenViX Feeds Status

Back
Top