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

Gradually make estimated scroll position accurate #5

Open
JordanMartinez opened this issue Oct 9, 2015 · 0 comments
Open

Gradually make estimated scroll position accurate #5

JordanMartinez opened this issue Oct 9, 2015 · 0 comments

Comments

@JordanMartinez
Copy link
Contributor

See FXMisc/RichTextFX#98

When laying out cells with varied heights, the scroll bar's value is only an estimate of how far the content has been scrolled, not the actual position. Thus, the goal is to turn this estimated value into the accurate value. Since this is only useful in some use cases, this should be an option, not a requirement.

One solution for achieving this thought of by Tomas himself (from above issue):

One could come up with some sophisticated algorithms, where the scroll position starts with an estimate (as it does now), and then in the background gradually improves the estimate. This would result in some flickering of the scrollbars before reaching the exact value, but that might be acceptable.

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

1 participant