[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wallpaper in GDM theme



On 7/23/07, Masatran, R. Deepak <masatran@research.iiit.ac.in> wrote:
I am making a GDM theme. I want the wallpaper to expand or contract as
necessary to fit in the display, while maintaining aspect ratio. I tried:

> <item type="pixmap">
>   <normal file="wallpaper"/>
>   <pos x="50%" y="50%" anchor="center" width="100%" height="100%"/>
> </item>

But it does not maintain the aspect ratio. Kindly suggest a solution.

I have no specific knowledge about GDM but I would like to note that
you can't maintain aspect ratio when changing to arbitrary
resolutions. So you *may* need to choose 100% for only the width or
height.



Reply to: