Possible bug on GtkImage/s and GtkPicture/s

Hi guys,

Seems that GtkImage/s or GtkPicture/s cannot show PNG images in an appropiate heigh / width sizes.

Firstly, I get a reference of GdkPixbuf doing


Gdk::Pixbuf::create_from_file (Glib::build_filename (DATADIR, "image.png"), 100, 100);

Making changes of last values from 100 to upper (like 500) or to lower values does not produce any effect on image sizes.

Is there a bug ?

I’m working on GTK4 (4.6.4) and GTKmm-4.0 (4.6.1).

But Gtk::Image::set_pixel_size(…) has solved the problem…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.