Allow GtkImages to shrink to fit when required

I have a GTK2 program that contains a table of GtkImages derived from Cairo surfaces. These images have a 
signal handler that scales the surfaces as the images are resized.

As I add more images to my table, the images remain the same size, instead of shrinking to fit as intended. 
This causes my window to get bigger and bigger until eventually it expands off the screen.

Also, if I increase the size of the window, the images will grow, but I am then unable to shrink the window 
below this new size.

How can I prevent these things from happening, and ensure that the images will always shrink to fit when 



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