qwert Posted December 6, 2018 Share Posted December 6, 2018 I finally have a simple use for what I thought was the default case for GuiCtrlCreatePic. "To set the picture control to the same size as the file content set width and height to 0." My GUI is 600 x 800 and the JPG on disk is 800 x 1200. So I'm expecting the image to completely fill the GUI and then some. But the image displays at about 150 x 150, no matter what I try (such as using SetImage after creating the Pic). There was a thread a few years ago that seems to cover this use: link Has the "0, 0" specification stopped working? Does the image have to be smaller than the GUI? Any help will be appreciated. Link to comment Share on other sites More sharing options...
mikell Posted December 6, 2018 Share Posted December 6, 2018 You're right. This looks like a bug I just tested using a Pic with the "0, 0" specification , a 1600x1200 jpg, and a 800x600 gui, and I got this : - with AutoIt v.3.3.12.0 , the image is displayed real size (bigger than the gui) - with AutoIt v.3.3.14.5 , I get a 150x150 square, and dimensions <> 0 are needed to display a different size Link to comment Share on other sites More sharing options...
qwert Posted December 7, 2018 Author Share Posted December 7, 2018 Thanks for confirming the behavior. I'll work up a description and submit. Link to comment Share on other sites More sharing options...
mikell Posted December 7, 2018 Share Posted December 7, 2018 Yesterday I posted a ticket in the bug tracker : #3682 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now