Allow GtkImages to shrink to fit when required
- From: adlo <adloconwy gmail com>
- To: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Allow GtkImages to shrink to fit when required
- Date: Thu, 20 Aug 2015 14:35:13 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]