Is the <bottom> tag broken?
#1
Is the < bottom > tag broken or am I just using it wrong?

Take the following control:-

xml:
<control type="group">
    <top>0</top>
    <left>0</left>
    <width>1920</width>
    <height>1080</height>

    <control type="image">
        <top>1000</top>
        <left>0</left>
        <width>80</width>
        <height>80</height>
        <texture>mytex.png</texture>
    </control>
</control>

This works as you'd expect the image is drawn with it's bottom edge at the exact bottom of the screen, now change the image control to:-

xml:
    <control type="image">
        <bottom>0</bottom>
        <left>0</left>
        <width>80</width>
        <height>80</height>
        <texture>mytex.png</texture>
    </control>

And shouldn't it give the exact same result? Because when I use <bottom> the image just displays at the top of the screen. Any ideas?
Reply
#2
Working perfectly fine for me using a nightly and Leia.
Reply
#3
What's your Defaults.xml file look like? Specifically, does it have definitions for image or group controls?
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#4
@jurialmunkey Big thanks. Yep, had a default top tag set to 0 for group, working fine now. It's always the simple things that catch you out  Blush
Reply

Logout Mark Read Team Forum Stats Members Help
Is the <bottom> tag broken?0