Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI Image Distortion Solution

Author
Message
Burnman
17
Years of Service
User Offline
Joined: 4th Mar 2007
Location: New England
Posted: 21st Jun 2007 07:46 Edited at: 21st Jun 2007 07:50
I have been beating my head against my desk for 2 hours trying to figure out why the heck my images suffered from distortion while using the "setPanelImage" command in BlueGUI 2. Well, the panel I was using I had aligned to "All", so that it took up the whole window it was nested in. It turns out that if you align the panel to "All" (resulting in the line: setGadgetAlign panel_handle, 1) the image will distort... at least it did in every instance I tested this.

Even if I used the correct texture flag, ie: LOAD IMAGE Filename, 1, 1


So, rather than align the panel, just set the top and left positional settings to 0, and set the size of the panel to match the size of the window. It works the same way, and will not distort the image.

I noticed a couple of people may have had the same issue (in this context) but the threads were locked due to inactivity, so I thought I would throw this here for the next person who does a search.

Yay! My first "helpful" post!

Login to post a reply

Server time is: 2024-05-18 10:08:57
Your offset time is: 2024-05-18 10:08:57