Re: How to make a progress-bar thinner?
- From: Osmo Antero <osmoma gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: How to make a progress-bar thinner?
- Date: Sat, 31 Mar 2012 13:39:16 +0200
Ok, I see.
It's rather easy to create a cairo-based (amplitude) level bar.Here is a samplehttp://www.futuredesktop.com/tmp/test3.c
Compile/link with$ gcc test3.c -o test3 `pkg-config --cflags --libs gtk+-3.0` and run $ ./test3
I think I will go for this solution. Would be nice to create a proper widget class for this.
Cheers,
Osmo (Moma) Antero
Le vendredi 30 mars 2012 à 09:35 +0200, Osmo Antero a écrit :
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
>Thanks for your reply.
> Osmo Antero
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]