hi
i would like to make a small button with an image …my image isnt big in size but i would like to show even smaller in size. button keeps size of image and i dont know how to make it smaller …i can tho make it larger but not smaller
Gtk::Button* btn = new Gtk::Button();
std::string iconPath =getenv("GRUNF");
Gtk::Image* icon = new Gtk::Image();
iconPath += "/res/osvezi.png";
icon->set(iconPath);
icon->set_pixel_size(5);
btn->set_child(*icon);
btn->set_size_request(6,6);
whatever number smaller than original size doesnt help… here in code is only a guess what this numbers would do.