Shoutbox

[?] Wonky Line - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [?] Wonky Line (/showthread.php?tid=70075)

[?] Wonky Line by Spunky on 12-30-2006 at 07:37 PM

Erm, does anybody know why this is happening? :s

[Image: attachment.php?pid=771030]

code:
            <Element xsi:type="LineElement" Id="LnVerticalLine">
                <Position Top="0" Left="172" Width="1" Height="55"/>
                <Size>1</Size>
                <Color><GlobalColor>line</GlobalColor></Color>
            </Element>


RE: [?] Wonky Line by CookieRevised on 12-30-2006 at 07:49 PM

quote:
Originally posted by SpunkyLoveMuff
code:
<Element xsi:type="LineElement" Id="LnVerticalLine">
    <Position Top="0" Left="172" Width="1" Height="55"/>
    <Size>1</Size>
    <Color><GlobalColor>line</GlobalColor></Color>
</Element>

Try with Width="0".
Width is for the width of the element, not for the line.
The line width itself is defined in <size></size>.

The LineElement is actually a rectangle you draw with the <position> being the coordinates of the rectangle and <size></size> the actuall thickness of the border.

Though, even then it shouldn't happen though, and Plus! should still draw a rectangle. So this is actually a small GUI bug too I suppose. Thus report it to Patchou (mail him about it). But make sure you also include the original and complete interface xml file and not just the snippet (as sometimes how stuff is rendered depends on other things in the interface.. which is actually some bug too in itself imho).
RE: [?] Wonky Line by Spunky on 12-30-2006 at 08:49 PM

Thanks Cookie :D It worked

I'll be sure to send Patchou an email about it. :P