Jump to content
Sign in to follow this  
nyke0

Change Height and width with GUICtrlSetImage ?

Recommended Posts

nyke0

Is it possible to change the height in width of a gif image?
I don't wanna resize the image, only how I let it show in my gui.

$Image = GUICtrlCreatePic(@ScriptDir & '\example.gif', 0, 0, 100, 100)
GUICtrlSetImage($Image, @ScriptDir & '\example_new.gif'); -> to 90, 90

Share this post


Link to post
Share on other sites
jguinch

GUICtrlSetPos() ?

$Image = GUICtrlCreatePic(@ScriptDir & '\example.gif', 0, 0, 100, 100)
GUICtrlSetImage($Image, @ScriptDir & '\example_new.gif')
GUICtrlSetPos($Image, Default, Default, 90, 90)
Edited by jguinch

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×