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 15 of 179

Thread: New skin: Simple Ten Eighty

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,677
    Thanks
    2,011
    Thanked 4,965 Times in 3,281 Posts
    Quote Originally Posted by ccs View Post
    This works better for me.....

    Code:
    			if serviceWidth > (self.timelineFontSize + self.epgConfig.timelinefs.value) * 7.6:
    					dateFormat = config.usage.date.daylong.value
    				elif serviceWidth > (self.timelineFontSize + self.epgConfig.timelinefs.value) * 5.55:
    					dateFormat = config.usage.date.dayshort.value
    				elif serviceWidth > (self.timelineFontSize + self.epgConfig.timelinefs.value) * 2.85:
    					dateFormat = config.usage.date.daysmall.value
    The month now gets dropped at Service width = 199.
    Yes but has to work in all skins, not just ones with narrow fonts.
    Help keep OpenViX servers online.Please donate!

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

    Andy_Hazza (09-04-21)

  3. #2
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by Huevos View Post
    Yes but has to work in all skins, not just ones with narrow fonts.
    I thought you said "in all skins it seems to trim the year before it goes out of bounds", all I'm doing is dropping the month when the service width is wider than your original change.

  4. #3
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,820
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Yes but has to work in all skins, not just ones with narrow fonts.
    And with any user-chosen font-size change.
    Why not just drop displaying the year completely? It's mentioned elsewhere on the screen should you have forgotten what it is and wish to be reminded.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

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.