2007-03-19 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Mon, 19 Mar 2007 19:30:55 +0000 (19:30 -0000)
committerChris Toshok <toshok@novell.com>
Mon, 19 Mar 2007 19:30:55 +0000 (19:30 -0000)
commit7a2255fdc5bebf0d5b55664c8aaa47666abaaf5c
tree0c796b7978fa8e2a4962b2be80eb1bae14143c04
parent6131cbea6a6026575131b441b087b27779e2e2e9
2007-03-19  Chris Toshok  <toshok@ximian.com>

* ScrollableControl.cs: clean this up a bit.  create the
scrollbars in the ctor and just show/hide them as needed.  Also,
make hscroll_visible/vscroll_visible internal to Recalculate, and
just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
everywhere else.  This seems to fix the scrollbars appearing
beneath the content for me (i have *no* idea why that is,
however.)

svn path=/trunk/mcs/; revision=74625
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs