Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll bars does scroll by integral item height #43

Closed
GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment
Closed

Scroll bars does scroll by integral item height #43

GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

* Posted by tonyt on CP *

When in details view, the control does not scroll by the
correct LargeChange amount, and results in only a portion 
of the first visible item shown. By convention, the top of
the first visible item's bounds should be at the top of the
control's content bounds.

I think the problem is that the ScrollBar's LargeChange 
value is not correctly set to be a multiple of the item 
height.

From: ImageListViewLayoutManager.cs:

   // Current line for detail view:
   mImageListView.vScrollBar.LargeChange = mItemAreaBounds.Height;

   // This corrects the issue:                     
   mImageListView.vScrollBar.LargeChange = 
      mItemSize.Height * ( mItemAreaBounds.Height / mItemSize.Height );

Original issue reported on code.google.com by oozcitak on 10 Mar 2010 at 9:14

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r246.

Original comment by oozcitak on 10 Mar 2010 at 9:52

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants