Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 10 of 10

Thread: TimerList.py & screen name="TimerEditList" : timer icon size

  1. #1

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts

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

    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.jpg

  2. #2

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    Or is the icon size coming from PowerTimerList.py ?

  3. #3
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    You need to get the excerpt of the log while opening the screen.
    Help keep OpenViX servers online.Please donate!

  4. #4

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    < 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.png
    Last edited by Orlandox; 25-05-22 at 13:33.

  5. #5

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    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 ?

  6. The Following User Says Thank You to Orlandox For This Useful Post:

    abu baniaz (25-05-22)

  7. #6
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Help keep OpenViX servers online.Please donate!

  8. The Following 2 Users Say Thank You to Huevos For This Useful Post:

    abu baniaz (25-05-22),Orlandox (25-05-22)

  9. #7

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    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 by Orlandox; 26-05-22 at 08:26.

  10. #8
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    You know you can go to github and do an edit like that directly online?
    Help keep OpenViX servers online.Please donate!

  11. #9

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    Quote Originally Posted by Huevos View Post
    You know you can go to github and do an edit like that directly online?
    Nope. Can you advise me, please ?

  12. #10
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Go here: https://github.com/OpenViX/enigma2/b...erTimerList.py
    At the top right of the file there is a pencil icon. Click that. Make the change. And save. That will create a PR.
    Help keep OpenViX servers online.Please donate!

  13. The Following User Says Thank You to Huevos For This Useful Post:

    Orlandox (26-05-22)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.