Beiträge von kiddac

    Hello,


    I am in need of some assistance.


    In my skin code I have.


    Code
    <widget source = "Title" render = "label" position = "90.301" size = "1650,53" font = "Bold; 39" foregroundColor = "white" background color = "bgdarkblue" valign = "center" halign = " center "noWrap =" 1 "transparent =" 0 "zPosition =" 2 "/>


    I need to resize the width of this "Title" value in a plugin at runtime. New width is dynamic and changes on a key press. It has to be resized in the plugin and not as a skin applet.


    I can resize other defined labels. For example.


    Code
    self ['text1']. instance.resize (eSize (width, height))


    But I am struggling to resize this title value.
    Can the "Title" label be resized or do I just have to use another defined label.


    Can anyone advise how I do this.


    Thanks.

    First of all hello, my first post.


    I am in the process of creating a new skin.
    In most modern interfaces, menus and sub menus are shown side by side. As shown below


    [Blockierte Grafik: https://i.ytimg.com/vi/RlB52j_Pf10/maxresdefault.jpg]



    When I am scrolling down the left menu, I am hoping to show it's sub menu on the right, just as a text list.


    I can achieve this very badly by using FixedLabel for every menu entry but this is very long code for each option.


    <widget source="menu" render="FixedLabel" text="textgoeshere" position="65,100" size="128,128">
    <convert type="MenuEntryCompare">about_screen</convert>
    <convert type="ConditionalShowHide" />

    </widget>


    Is there a quicker and easier solution that brings in these values as a list, possible from the existing data already in menu.xml.


    Thank You.