Hi Everyone,

We’ve replaced webview for xwalkview for few weeks already. Now, we want to
get the HorizontalScrollRange() in the same way we used to do with
Webview.computeHorizontalScrollRange(), which returns a ScrollDelegate
object, which does the calc for this range.

For those who never heard of it, this horizontalScrollRange is increased as
per how much you zoom in and decreased as per how much you zoom out.

On the other hand, XWalkView.computeHorizontalScrollRange() is inherited
from View BUT it returns a CONSTANT value(View.getWidth()) whatever the
zoom is.

Now the question: using xwalkview, how do I get the correct
HorizontalScrollRange() that changes whenever I zoom in/out?

It will be very appreciated any help!

King regards,
Thales Galdino
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to