Web lists-archives.com

Re: Simple question...

My counter-example, and my inspiration, is GIMP.  When you have a control-intensive things going on--the Dodge/Burn tool, for example, has eight spinbuttons, and 24 buttons of other types all in one sub-panel, and that doesn't even include the 50 or so buttons on other panels--you just don't have room for big, user-friendly, buttons, especially when you're working with images that need huge windows just to see the details.

I've rambled on about this before, but this is my big complaint with GTK these days: a lot of the flexibility has been taken away or it requires a lot of hacking to get back.  Yeah, cramped GIMP-style controls aren't pretty, and they might be harder to use, but sometimes they're necessary--and all my apps are highly control-intensive and the big controls don't leave me enough room to deal with the images I'm trying to do things with.


On 01/07/18 10:06, Stefan Salewski wrote:
On Fri, 2018-06-29 at 22:38 -0400, Chris Moller wrote:
...but I can't figure it out:  How do I make a tiny little button,
like 10x10 pixels,  gtk_widget_set_size_request (button, 10, 10);
doesn't work.  gtk_widget_size_allocate (GtkWidget *widget,   
GtkAllocation *allocation); doesn't work.  ( can't make anything work
using CSS.  Nothing seems to work.

Yes, it really should be possible to make tiny buttons -- and to some
degree it is possible, gedit for example has multiple tabs, and each
tab has a tiny close button. I have copied that gedit code once and got
it working, was my Ruby code that time. But that gedit code has changed
multiple times, so it may be necessary to copy most recent version. And
of course it may not work for all widgets unfortunately.

Of course, generally widgets should be NOT tiny, we all know that.

gtk-list mailing list