Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Smooth scrolling

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests
View previous topic :: View next topic  
Author Message
MHB



Joined: 04 Apr 2005
Posts: 69

PostPosted: Mon Nov 14, 2005 1:42 pm    Post subject: Smooth scrolling Reply with quote

As it is, scrolling is always done by an integral number of rows. This is a problem with very tall rows. For instance, a row may be so tall that the bottom of the row can never be displayed because the top of the row is aligned with the top of the displayed area. Even with less tall rows (say, 5 lines) scrolling is confusing because a single scroll operation moves the view quite far.

Would it be possible to get something like "floating point"-scrolling? Perhaps by making the existing scroll commands (scroll wheel and scrollbar click) use absolute positioning, and then use the default (or minimum) row height to determine the amount of scrolling that should be performed?

I suppose the current design pretty much assumes that the top row is aligned to the top of the displayed area, so it could pose problems to change this behaviour. But virtualtree really would be a lot nicer to work with if scrolling was smooth, also with rows more than one line high.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Nov 18, 2005 10:14 pm    Post subject: Reply with quote

This would actually be quite difficult to do. Scrolling is done on an integral row basis for two reasons:

1. Generally you want the top row to be evenly aligned.
2. Because we don't load all of the row data upfront (ie it is virtual) we don't actually know the heights of any rows other than those currently displayed.

We will have a think about the issue and see if there is some way we can accommodate your wishes.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group