Hi, Galdino,
This is not supported  in crosswalk. We will investigate it and I have filed an 
issue about this: https://crosswalk-project.org/jira/browse/XWALK-4394.

Regards,
Xing

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Thales 
Galdino
Sent: Sunday, June 14, 2015 11:07 AM
To: [email protected]
Subject: [Crosswalk-help] Compute Horizontal Scroll Range as per Zoom

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