Hi, I’m trying to create a vertical spin button with gtkmm 4, it should look like this:
I created a vertical box with two buttons with triangle images.
I need the spin button to be the same height as all the other widgets, so I tried to make the buttons height half the height of all other widgets, but despite my efforts the button is twice the size of all other widgets, which is the default height.
The triangle images are very small: 4x8 pixels. It seems the Image class is stretching them and making them larger .
I call set_size_request(8, 4) for both buttons and both images, I use zero padding and negative margins, I managed to get the widget height right, but the buttons them selves are still too large.
Can you help me fix the images sizes?