* TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
for vertical bars. Fixes the mismatches shown by #78513
svn path=/trunk/mcs/; revision=63655
+2006-08-11 Peter Dennis Bartok <pbartok@novell.com>
+
+ * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
+ for vertical bars. Fixes the mismatches shown by #78513
+
2006-08-11 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: If a saved/remembered path doesn't exist
if (document.Height >= document.ViewPortHeight) {
vscroll.Enabled = true;
vscroll.Minimum = 0;
- vscroll.Maximum = document.Height - ClientSize.Height + 1;
+ vscroll.LargeChange = document.ViewPortHeight;
+ vscroll.Maximum = document.Height;
} else {
vscroll.Maximum = document.ViewPortHeight;
vscroll.Enabled = false;