[Mono-list] ScrollWindows spacing

Daniel Hughes trampster at gmail.com
Tue Mar 15 01:56:17 EDT 2011


That did the trick. It looks much better now.

Thanks,
Daniel Hughes

On Tue, Mar 15, 2011 at 7:48 AM, Michael Hutchinson <
m.j.hutchinson at gmail.com> wrote:

> 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:
>
> https://github.com/mono/monodevelop/blob/master/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/CompactScrolledWindow.cs
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110315/9afce394/attachment.html 


More information about the Mono-list mailing list