Hullo Martin,
maybe you should check:
v0=[scrollviewfromNib verticalLineScroll];
v1=[otherscrollview verticalLineScroll];
where scrollviewfromNib and otherscrollview correspond to your
two controls. then if (fabs(v0-v1)=0.1) ;-) you know..
hope this helps,
pg
On Thu, Sep 10, 2009 at 4:01
Hi Jens,
I'm not totally sure that I want to allow scrolling by fractional
amounts - I've definitely seen some smearing, with copy on scroll
set, but without that everything (in the textview) seems to render ok,
and the speed is acceptable for now, so I'd at least like the option.
It seems
Copy on scroll is off for both views - with it set on, I get smearing,
but only in the view that's working with fractional amounts (i.e. not
rounding off).
In this particular case, I actually want slow, but smooth, scrolling,
and the ability to change the scrolling speed in very fine increments,
I've got two NSScrollView's in separate windows, that I'm trying to
scroll programmatically in synchrony.
I'm calling
[[scrollView contentView] scrollToPoint:theNewPoint];
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by
On Sep 10, 2009, at 7:01 AM, Martin Redington wrote:
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by fractional
amount (e.g. .25 or .5 of a pixel).
Are you sure you want to scroll by fractional pixels? It will be
On 11/09/2009, at 4:41 AM, Jens Alfke wrote:
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by fractional
amount (e.g. .25 or .5 of a pixel).
Are you sure you want to scroll by fractional pixels? It will be
slower,