Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-10-31 02:51:22

vgvcmhgdjhgACTU
Member
Registered: 2009-10-30
Posts: 4

Progressbar text alignment

Is it possible using .gtkrc or a function call to change the text alignment of a GtkProgressBar? I want it left-aligned. There doesn't seem to be a way to get at the label directly.

Offline

#2 2009-10-31 14:26:28

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Progressbar text alignment

I don't know if that works, but have you tried with GtkProgress::text-xalign? Allowed values are 0.0(left) to 1.0(right) and the default is 0.5.

Offline

#3 2009-10-31 19:00:39

vgvcmhgdjhgACTU
Member
Registered: 2009-10-30
Posts: 4

Re: Progressbar text alignment

Nope, nothing happens. Did you mean GtkProgressBar? The only styles documented for it are xspacing and yspacing that relate to padding around the bar.

Offline

#4 2009-11-03 14:05:03

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Progressbar text alignment

vgvcmhgdjhgACTU wrote:

Nope, nothing happens. Did you mean GtkProgressBar?

Nope, I'm talking about GtkProgress, but I don't think that this is themable.

Offline

Board footer

Powered by FluxBB