Shoutbox

Background with no-resize - 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: Skinning (/forumdisplay.php?fid=41)
+----- Thread: Background with no-resize (/showthread.php?tid=84482)

Background with no-resize by KaDe972 on 06-23-2008 at 10:57 AM

hi all, it's me again,

I would like to put a background on my "connection windows"

But when the windows is resize, i don't want the background is resize to .

in other words, i want to put the background's image on top-right of the windows, and til her

How to do this?


thx a lot :)


RE: Background with no-resize by Willz on 06-23-2008 at 11:06 AM

Well thats fairly easy. Go into your definition file and use this code, but of course replace the ##### with your image number and XX with your images height and width (just numbers, do not put px)

Place this just above the vapor element:

<Element layoutpos=top layout=filllayout()>
            <element layoutpos=right content=rcimg(#####) width=XX height=XX/>
        </element>


Also make sure you haven't used UMMargins in skininfo.xml.


RE: Background with no-resize by KaDe972 on 06-23-2008 at 03:29 PM

ok thx you a lot, i'll try this

:);)


hello Willz

I have try your code, but when WLM start now evrythink is BLACK (no text, no button just a  black screen)

this is the top of my uifil 947 :

quote:
<Element resid=Scrollbar/>
<logonFrame resid=logonFrameResID id=atom(logonFrame) sheet=styleref(logonFrameSS) layout=borderlayout() layoutpos=client>
<Element id=atom(mainwndcontainer) Layoutpos=client Layout=FillLayout() Class="HIGStandardFont">
<Element Layout=BorderLayout()>
<Element id=atom(header) Layoutpos=top Height=0/>
</Element>
<Element layoutpos=top layout=filllayout()>
<element layoutpos=right content=rcimg(59022) width=1400 height=900/>
</element>

<Element id=atom(vapor)/>
<Element Layout=filllayout()>


and the skininfos.xml line :

quote:
Id="59022"><Module>resources.dll</Module><ResName>#59022</ResName><ResType>JPG</ResType><Metadata><Colorize>false</Colorize></Metadata></Picture>

thx u