Allow GtkImages to shrink to fit when required

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

 



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 required?

Regards

adlo
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux