Normal
Thanks guys- I thought about setting the width/height, but then I'm concerned the image will be cropped on, say, 1280x720 screens? I should add, this isn't a fixed size image as a skin background for example, it's a plugin to display images from a resource that could potentially be any size/aspect ratio.I may be better off scaling in code if this is the case- if so, is there an easy way to obtain the current window width/height from within my plugin? I can work out the rest (If I'm doing this completely arse-about-face, also shout of course! - basically my plugin grabs an image from online and displays it- I want to to fill the screen on it's longest side, keeping aspect ratio. Think of it like a full-screen photo viewer in simple terms)
Thanks guys- I thought about setting the width/height, but then I'm concerned the image will be cropped on, say, 1280x720 screens? I should add, this isn't a fixed size image as a skin background for example, it's a plugin to display images from a resource that could potentially be any size/aspect ratio.
I may be better off scaling in code if this is the case- if so, is there an easy way to obtain the current window width/height from within my plugin? I can work out the rest
(If I'm doing this completely arse-about-face, also shout of course! - basically my plugin grabs an image from online and displays it- I want to to fill the screen on it's longest side, keeping aspect ratio. Think of it like a full-screen photo viewer in simple terms)