2008-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 24 Nov 2008 11:22:01 +0000 (11:22 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 24 Nov 2008 11:22:01 +0000 (11:22 -0000)
commit5d5713d61de1e9d4d47870473f1adefb42095be7
treee81ce0c3d5c4c239b363971653cb54e5b9c1065c
parente08e623c47b9ef758632e454a787317ca7b8aac3
2008-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ScrollBar.cs:
* ScrollableControl.cs: When the manual thumb size is used, the
maximum allowed value should depend on that thumb size, instead of
LargeChange (using the maximum - LargeChange + 1 value). But
LargeChange should be used normally when incrementing/decrementing.
Fixes the remaining part of #441546.

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