PATCH: auto-fit for xfdesktop

Jasper Huijsmans jasper at moongroup.com
Mon Dec 1 09:17:54 CET 2003


Op ma 01-12-2003, om 07:01 schreef Brian J. Tarricone:
> Jasper Huijsmans wrote:
> 
> >SCALED: the image is scaled to fit the screen with the same aspect ratio
> >as the original. Any free space is filled with the background color.
> >  
> >
> this may be what you had in mind, but... perhaps also center the image?  
> i.e. if you increase the width to the width of the screen, and then 
> increase the height (keeping aspect), but the image is still of a 
> shorter height than the screen, center the image top-to-bottom and fill 
> the non-image bars with the background color.  same applies for the 
> reverse - when you end up with non-image areas on left and right, but 
> not top and bottom.
> 
> i think that's more aesthetically pleasing than having an off-center image.
> 

Yes, that's exactly what I had in mind ;-)

Thanks,
	Jasper




More information about the Xfce4-dev mailing list