[Mono-list] ScrollWindows spacing

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Mar 14 14:48:52 EDT 2011

On Mon, Mar 14, 2011 at 6:03 AM, Daniel Hughes <trampster at gmail.com> wrote:
> I have GTK ScrollWindow in which I have placed a TextView.
> Between the Vertical Scrollbar and the TextView there is a gap of about 3
> pixels.
> This page here says there is a scrollbar-spacing Style Property but it is
> read only.
> http://library.gnome.org/devel/gtk/unstable/GtkScrolledWindow.html
> Also it says allowed values are >= 0 which doesn't make sense if its read
> only.....
> either way I can find a way to change this value from GTK#
> Lots of Gnome applications appear to not have this spacing and I would
> rather not waste the Pixels. Aside from this it just doesn't look that good.
> How do I remove the 3 pixel spacing between my TextView and Horizonal
> ScrollBar?

It's part of the GTK+ theme, and not changeable from user code.

That said, you can change it using a style fragment:

Michael Hutchinson

More information about the Mono-list mailing list