quote:
Originally posted by Basilis
If you specify dimensions for the image, it will not stretch. That is what I did on 8.5 with the Champions League skin. haven't even touched 2009 though so I cannot be sure. You can check my UIFiles to see if you tried the code I have there.
I haven't specified dimensions for my pictures and they don't stretch
Eddie, here's an example of what i did with the logon window:
xml code:
<Element LayoutPos=top id=atom(idSceneEdge) Background=rcbkd("msgr",4301) Height=rcint("msgr",4111) AddBehavior=DUI::ShowHide()/>
<Element Background=rcbkd("msgr",4300) LayoutPos=client/>
</Element>
>>><element layoutpos=bottom layout=borderlayout()><<<
>>><element layoutpos=right content=rcimg("msgr",59000)/><<<
>>></element><<<
<Element Layout=BorderLayout()>
<Element layoutpos=client layout=BorderLayout() id=atom(idLogonFrameClientArea) padding=Rect(0,2,0,0)>
The highlighted lines add the new picture 59000 aligned to the bottom right of the logon window, behind all of the other icons and stuff.
The picture displays at the same size whatever size the window is set to.....however it does squash if someone tries to make the window smaller.....making it bigger does NOT stretch the picture however.
If you want more examples of code then let me know