Re: [Mono-list] ScrollWindows spacing

2011-03-14 Thread Daniel Hughes
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.hutchin...@gmail.com> wrote:

> On Mon, Mar 14, 2011 at 6:03 AM, Daniel Hughes 
> 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
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ScrollWindows spacing

2011-03-14 Thread Michael Hutchinson
On Mon, Mar 14, 2011 at 6:03 AM, Daniel Hughes  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
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] ScrollWindows spacing

2011-03-14 Thread Daniel Hughes
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?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list