Skin Support - Post questions for all my skins in here.

There are 1,298 replies in this Thread which was already clicked 290,991 times. The last Post () by saalty.

  • I designed those screens blind, ages ago.


    I have doubled up the button code though.


    I have a template of buttons as well as the buttons again individually.

    I can center them with the textoffset in "config"


    ** A person who feels appreciated will always do more than what is expected **

  • I think I did this in my pr


    <panel name="Setup-Default" />


    For some reason I still had to add description widget as description panel wouldn't work and


    <widget source="key_red" render="Label" />

    <widget source="key_green" render="Label" />

    <widget source="key_yellow" render="Label" />

    <widget source="key_blue" render="Label" />

    • Official Post

    Why are you adding the buttons individually? Surely better to put all the buttons in one panel. Add it, and only the ones required should show. The general layout of your skins is the same across each one. So better to define that view and just add what's needed as an addition for other screens.


    As an example, on simple 1080, the general look is SetupPanelPIG which would be a similar layout to yours

    skins/vix_skin.xml at master · OpenViX/skins
    Contribute to OpenViX/skins development by creating an account on GitHub.
    github.com
  • This works for me although it still needs offset on config adjusting


    Buttons show on demand

    Quote

    <!-- Multiboot Selector openvix -->

    <screen name="MultiBootSelector" position="0,0" size="1920,1080" flags="wfNoBorder" backgroundColor="transparent">

    <panel name="Setup-Default" />

    <widget source="description" render="Label" position="540,140" size="1002,195" font="Regular;33" foregroundColor="white" backgroundColor="topmid" transparent="1" />

    </screen>


  • Right, just reading back through this thread. (fun read)

    Willo3092 mentioned the multiboot screen issue. i.e the double buttons. here in Jan 2023 :see no evil monkey: :hear no evil monkey: :speak no evil monkey:


    Why has the choicelist screens vertically alignment now buggered up. Because openatv have broken things again adding offset or center alignment to some elements that have historically always been offset by the skin parameters.
    in skin.xml in slyk q skin which I just updated. I removed the top offset to accomodate openatvs amends. Not realising this would break layout on all other images. (grr).

    This is the losing battle we are now fighting. Nobody is on the same page. Nobody even cares about years worth of code.



    I am just going to undo those parameters and but them back to what they used to be. Openatv layouts can then be wrong (which will now be pretty much bottom aligned.) As its them that broke things.

    ** A person who feels appreciated will always do more than what is expected **

  • I don't know, i can't keep up with all these changes.


    lists that should be list but are choicelists

    Configs that should be configs but maybe not configs.

    Choicelists that are configs.

    Quickselects which are openatvs version of choicelists.


    Who fucking knows.


    List -> a list of things
    Choicelist -> and list that can be selected with a button
    Config -> a selection of config choices, yes/no, inputs etc etc.
    Quickselect - not even a thing. Its a choicelist. Stop feeding lazy people that want buttons for selecting lists elements in a list. It is literally quicker to scroll up and down a list than look down at your remote to find a red button or a number button.

    Parameters originally used so skinners could set offsets and sizes globally.

    This is why looking back through this thread, I pretty much gave up on skin work as soon as all this python 3 chaos started.

    I will work it all out eventually. But its a nightmare, and causing me and others a lot of unnecessary stress.

    ** A person who feels appreciated will always do more than what is expected **

  • and your comment about the offset. What will fix one, will probably break the other. There would have been a reason they were like that in the first place. As shown on willows original multiboot screenshot. The layout was correct.

    ** A person who feels appreciated will always do more than what is expected **

  • I actually don't understand why openvix are actually using name="config" in their multiboot screen.
    Never used it, but to me its either a list element or a choicelist element.



    and looking on github. It is defined as a choicelist.

    self["config"] = ChoiceList(list=[ChoiceEntryComponent("", ((_("Retrieving image slots - Please wait...")), "Queued"))])

    SO they are probably actually wrong there. As its probably the name config buggering things up
    There is no paramaters for "config", so we use textoffset. But as this is also actually defined as a choicelist (which there are params), then they are clashing. I can fix this screen just putting the params back and removing the offset. As this is a vix only screen.

    But then I got to try and work out where openatv have buggered up with the parameters. It is a bit of a mess.

    ** A person who feels appreciated will always do more than what is expected **

  • I am just talking to myself at the moment. Talking to the rubber duck. So not after any replies. :)

    So looking at choiceList.py on openatv github. Jbleyel put the RT_VALIGN_CENTER in when experimenting (nov 30 2021). Then reverted his commit and removed it (Dec 1 2021). 3 months later IanSav put it back in again (Mar 28 2022). *sigh*. This element has a parameter offset, so putting in anything other than top aligned or left aligned is going to break skinning choiceList.py

    This has gone unnoticed from me for a year due to me having no desire to update to openatv 7.* due to all the crazyness going on. It worked perfectly on openatv 6.4.

    Their error that one. Not mine.

    ** A person who feels appreciated will always do more than what is expected **

  • OK openatv have agreed to add in a new skin parameter value as a work around to these choicelists being displayed differently on different images.
    This will require an image update from yourselves. And me to put in a new line in all of my skins. I am currently going through my skins anyway. So that isn't a problem for me.
    This seems to be a openatv 7.2 issue. I think 6.4 and 7.3 are ok.
    Openvix no need to do anything.


    [ChoiceList.py] Make vertical alignment configurable by IanSav · Pull Request #2878 · openatv/enigma2
    Add a new skin parameter called "ChoicelistVerticalAlignment", that takes a value from "*top", "*center", "*middle" or "*bottom", to specify the vertical…
    github.com

    ** A person who feels appreciated will always do more than what is expected **

Enhance your Enigma2 with KiddaC's creations

Download HD skins, IPTV players (X-Streamity, EStalker), bouquet tools, picon managers, and essential plugins for a complete setup. KiddaC's Enigma2 resources: skins (slyk, v-skin, onyx), IPTV plugins (Xtreamity, Jedi Maker), and utilities (E2Piconizer, ScreenNames) for customization and control.