Kodi Community Forum

Full Version: group, group list & textbox issue Kodi 18 nightly.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Looking if someone else is having a issue. I have a group with the top and left set. Normally every in the group would take this coordinate and add to it.. so basically group top is 100 left is 100. Control one I put left 100. Which normally would be a complete offset of 200 but it's not working.

Then I have a group list in this as well and the same applies I am also have align set to center in the group . The label and textbox control somewhat follows this but the group list does not at all. And stays aligned to the left. Can I not have a grouplist in a group anymore?

Maybe I missed a change in the aoruce code?

Any help would be appreciated.
It still works fine otherwise nearly every skin would be broken. Post the full code please.
What i want is the second grouplist to be centered on the screen... as you will see i even tried setting <left> to force the offset but it is staying left aligned.
xml:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol>1000</defaultcontrol>
    <backgroundcolor>background</backgroundcolor>
    <controls>
        <include>DefaultBackground</include>
        <control type="multiimage">
            <depth>DepthBackground</depth>
            <include>FullScreenDimensions</include>
            <aspectratio>scale</aspectratio>
            <fadetime>600</fadetime>
            <animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
            <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
            <animation effect="fade" time="400">VisibleChange</animation>
            <imagepath background="true" colordiffuse="bg_overlay">$VAR[HomeFanartVar]</imagepath>
            <visible>!Player.HasMedia</visible>
        </control>
        <control type="grouplist" id="1000">
            <orientation>vertical</orientation>
            <top>60</top>
            <left>90</left>
            <width>1740</width>
            <height>960</height>
            <align>center</align>
                <control type="label" id="100">
                    <description>Welcome Header</description>
                    <align>center</align>
                    <height>200</height>
                    <font>Title 1</font>
                    <label>Header</label>
                </control>
                <control type="textbox" id="101">
                    <description>Warning</description>
                    <align>center</align>
                    <height>200</height>
                  <font>Headline</font>
                    <label>Some random stuff i am testing out</label>
                </control>
                <control type="grouplist">
                    <orientation>vertical</orientation>
                    <left>670</left>
                    <align>center</align>
                    <width>1740</width>
                    <height>400</height>
                    <control type="button" id="102">
                        <width>400</width>
                        <height>100</height>
                        <align>center</align>
                        <font>Caption 1</font>
                        <label>cancel</label>
                    </control>
                    <control type="button" id="103">
                        <width>400</width>
                        <height>100</height>
                        <align>center</align>
                        <font>Caption 1</font>
                        <label>accept</label>
                    </control>
                </control>
        </control>
    </controls>
</window>

You need to wrap the second grouplist inside a group.

xml:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol>1000</defaultcontrol>
    <backgroundcolor>background</backgroundcolor>
    <controls>
        <include>DefaultBackground</include>
        <control type="multiimage">
            <depth>DepthBackground</depth>
            <include>FullScreenDimensions</include>
            <aspectratio>scale</aspectratio>
            <fadetime>600</fadetime>
            <animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
            <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
            <animation effect="fade" time="400">VisibleChange</animation>
            <imagepath background="true" colordiffuse="bg_overlay">$VAR[HomeFanartVar]</imagepath>
            <visible>!Player.HasMedia</visible>
        </control>
        <control type="grouplist" id="1000">
            <orientation>vertical</orientation>
            <top>60</top>
            <left>90</left>
            <width>1740</width>
            <height>960</height>
            <align>center</align>
            <control type="label" id="100">
                <description>Welcome Header</description>
                <align>center</align>
                <height>200</height>
                <font>Title 1</font>
                <label>Header</label>
            </control>
            <control type="textbox" id="101">
                <description>Warning</description>
                <align>center</align>
                <height>200</height>
                <font>Headline</font>
                <label>Some random stuff i am testing out</label>
            </control>
            <control type="group">
                <width>1740</width>
                <height>400</height>
                <control type="grouplist">
                    <orientation>vertical</orientation>
                    <left>670</left>
                    <align>center</align>
                    <width>1740</width>
                    <height>400</height>
                    <control type="button" id="102">
                        <width>400</width>
                        <height>100</height>
                        <align>center</align>
                        <font>Caption 1</font>
                        <label>cancel</label>
                    </control>
                    <control type="button" id="103">
                        <width>400</width>
                        <height>100</height>
                        <align>center</align>
                        <font>Caption 1</font>
                        <label>accept</label>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>
Thanks that's what I wanted. I appreciate your help.