Page 1 of 1

Scaling/Mosaic not supported by Skineditor?

Posted: 11 Jan 2009 20:29
by Jorge
Hi,

I want to create a resizable window with the editor, for which the tutorial has to be written yet :-(, I encountered the next problem.

Doing a vertical enlargement of the background, it appeared that the picture was repeated and not stretched. I then changed the ImageAttribute Resizing from "mosaic" to scale.

However the background was still repeating when enlarged. I checked the xml -file in which I found:

Code: Select all

<Image id="PL Background" image="Playlistbg" action="move" rightbottom="rightbottom" xkeepratio="true" ykeepratio="true"/>
I did another check but it did not change. In the code is nothing to be found about resizing. I added the next: resize="scale"

Code: Select all

<Image id="PL Background" image="Playlistbg" resize="scale" action="move" rightbottom="rightbottom" xkeepratio="true" ykeepratio="true"/>
With the addition it worked fine. The picture was only stretched and not repeated.

It appears that the interface of the SkinEditor 0.7 supports mosaic and scale, but when producing the xml-file it is not supported at all.

Is this a bug in the editor?

Regards.

Re: Scaling/Mosaic not supported by Skineditor?

Posted: 12 Jan 2009 17:01
by 3breadt
That's a bug, the editor does not save the resize attribute. Thanks for the report, will be fixed in next release.