Re: Width of scrollbars



On Sat, Jul 17, 2004 at 08:00:18PM +0100, Roger Leigh wrote:
> romildo uber com br writes:
> 
> > On Sat, Jul 17, 2004 at 07:18:08PM +0100, Roger Leigh wrote:
> >> romildo uber com br writes:
> >> 
> >> > In the process of configuring my desktop, I want
> >> > to change the width of scrollbars of GTK+ applications.
> >> > How can I do that systematically? Can it be done
> >> > by editing the GTK+ configuration files?
> >> 
> >> Yes, using style properties.  Try your .gtkrc (example):
> >> 
> >>   GtkRange::slider_width = 20
> >>   GtkRange::stepper_size = 20
> >>   GtkScrollbar::min_slider_length = 20
> >
> > These properties affect the slider and the steppers.
> > But their container width is not changed. How would
> > I alter it also?
> 
> Which container are you referring to?

I am not sure it is a container, but I am referring
to the space reserved for drawing the slider and the
steppers in the scrollbar.

I was watching the results of changing these properties
with GVim and gnome-terminal, looking at their vertical
scrollbars. Somehow the width of their scrollbar
"containers" does not change with these properties.
Try them and you will see what I mean.i Any clues here?

With other applications like Gwget it works as
expected.

> but you can look all these up yourself in the GTK+ API reference.

Thanks for the tips. I am already reading the API
(although I do not program GTK+ applications yet).

Regards.

Romildo



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