XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 6:56 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 11th, 2014, 11:28 pm 
Offline

Joined: October 11th, 2014, 11:19 pm
Posts: 1
Pls some one tell me how to use !SetWallpaper function to set any image as a wallpaper in "fit" or *stretch* mode.. they set in *fill* mode by default.


Top
 Profile  
 
PostPosted: October 12th, 2014, 1:32 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I think it's not possible (except I'm missing something) and you need to wait the next version of XW. It's actually a very good request/idea..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 17th, 2014, 6:59 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
you can use these commands in code:
Code:
SetWallpaper("filename.ext") //it will use last used mode for styling
SetWallPaper2("filename.ext",StyleNumber) //you should set a style by using a number

i don't know style numbers correctly, but i have tested these and they works:



example:
Code:
SetWallpaper("image1.jpg") //sets wallpaper and uses previous StyleMode
SetWallPaper2("image1.jpg",0) //sets wallpaper and makes it Center
SetWallPaper2("image1.jpg",1) //sets wallpaper and makes it Tile
SetWallPaper2("image1.jpg",2) //sets wallpaper and makes it Stretch


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group