[Kde-games-devel] KMines background image scaling problem

Sean suseux at googlemail.com
Wed Oct 21 14:26:33 CEST 2009


2009/10/21 Dmitry Suzdalev <dimsuzkde at gmail.com>

> On Wednesday 21 October 2009 15:45:33 SuseUX at googlemail.com wrote:
> > The other themes are ok but I think that's because I've scaled my
> > background to fit better with wide-screen. Changing the background size
> in
> > the theme seems to make it worse, and the boarder did get worse as I
> change
> > the background image inside the file.
> Hmm. I don't get it, how the size of the svg element in .svg file can
> affect
> it when it's rendered? svg is scalable - so I just can resize it to any
> size.
> That's what KMines does.
>
> Or maybe you have a png inside an SVG?
>
> It seems i don't understand something about the situation :)
>
> > As I done the background it looks good scaled at 16:10. If you look at
> the
> > Garden theme background, it look squashed and I wanted to avoid this.
> Not sure you can avoid it, this is a limitation/bug in kmines - it simply
> doesn't support fixed aspect ratios it will *always* try to stretch the
> bakcgound in both directions to try to fill all the widget.
>
>
>
No PNG in the background. I set the background back to the default size but
I still get the white boarders. :/

Here's what it looks like http://imagebin.ca/view/CS1j0B.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-games-devel/attachments/20091021/b9c80735/attachment.htm 


More information about the kde-games-devel mailing list