Re: Invisible GtkImage



On Tue, 2013-06-18 at 10:33 +0300, אנטולי קרסנר wrote:
Hmmm... did you try not to resize the image at all, and see if it gets
resized automatically by the aspect frame? If the ratio of the image
isn't identical to the aspect frame ratio, I guess it may result in each
one of them resizing the other recursively.

Try without the resize code, and see if it works. If not, maybe use some
layout/alignment properties to make the image adapt, rather than
manually setting the new size. Maybe this will work.

I Hope it helps :-)

Hey Tom. Thanks for the help. If I comment out the "draw" signal
connection on line 34, the aspect ratio doesn't resize at all, but just
stays fixed, albeit at the correct aspect ratio.

        <http://pastebin.com/jFCcWyig>

Ugh, *slams head on desk*

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]