grouplist background
#1
Hello,

I'm making a slideshow with a text description at the bottom. I'm using a grouplist control to keep the description text at the bottom of the screen. I'm having problems with the background image.
I got it to the point where it will follow the top part of the grouplist but I could not change the image height.
any tips?

PHP Code:
            <control type="grouplist" id="200">
                <
left>0</left>
                <
top>500</top>
                <
width>1280</width>
                <
height>220</height>
                <
orientation>vertical</orientation>
                <
usecontrolcoords>true</usecontrolcoords>
                <
itemgap>0</itemgap>
                <
align>bottom</align>
                
                <
control type="image" id="199">
                    <
width>100%</width>
                    <
height>100%</height>
                    <
texture>srr_dlg-bg.png</texture>
                </
control>
                <
control type="textbox" id="201">
                    <
left>10</left>
                    <
width>1260</width>
                    <
height>auto</height>
                    <
visible>!String.IsEmpty(Control.GetLabel(201))</visible>
                    <
label></label>
                    <
align>center</align>
                    <
font>font16</font>
                </
control>
                <
control type="textbox" id="202">
                    <
left>10</left>
                    <
width>1260</width>
                    <
height>auto</height>
                    <
visible>!String.IsEmpty(Control.GetLabel(202))</visible>
                    <
label></label>
                    <
align>justify</align>
                    <
font>font14</font>
                </
control>
            </
control


watch gallery
Reply
#2
Try making it's height the max it can possibly be.
Reply
#3
I couldn't get any value on height to work.
a % value for gets it ignored.
entering a numerical value makes it occupy space in the grouplist; it pushes the text controls down.
i found a workaround by adding animation:
PHP Code:
            <control type="image" id="199">
                    <
top>0</top>
                    <
bottom>0</bottom>
                    <
width>100%</width>
                    <
height>auto</height>
                    <
texture>srr_dlg-bg.png</texture>
                    <
aspectratio>stretch</aspectratio>
                    <
animation condition="true" effect="zoom" start="0" end="100,800" time="0">Conditional</animation>
                </
control
Reply

Logout Mark Read Team Forum Stats Members Help
grouplist background0