Re: How to make a progress-bar thinner?



Le vendredi 30 mars 2012 à 09:35 +0200, Osmo Antero a écrit :
> Hello,
> How can I make a GtkProgressBar thinner in this application.
> See: 
> http://www.futuredesktop.com/tmp/test1.c 
> And 
> http://www.futuredesktop.com/tmp/screenshot1.png
I'm not sure at all you can make it smaller. Actually, the button on the
left hand-side is higher than the progress bar, so you cannot gain space
here - and this size depends on the font size, so no luck with padding.

The general problem IMHO is that you're basically trying to theme your
application, and GTK is really not designed that way. You don't really
control the appearance of the widgets, at least not at such a detailed
level.

If you're not happy with the progress bar, you may use a slider instead
(just like other sound applications).

PS : this list is about discussion of GTK internal development. YOu
should have used gtk-app-devel-list for this problem.


Regards


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]