I have a webview of size 300×250 which loads url from web say http://www.google.com
I’m trying to scale the webview so that the page fits properly based on the frame of webview, however when applying the scale, it seems to be unchanged.
Could anyone point out what could be wrong in the following code?
03-29 15:11:29.146 : INFO / websample ( 3670 : 3670 ) : web view scale success, current scale: 1.000000
I tried changing the scale by adding a callback to web view loading finished but there it prints scale as 0.36 when setting scale as 0.5. Visually there is no change noticeable.
Is the issue because im passing 0,0 for the position to apply scale at? I don’t know how to scale the webview from the webview’s center point without user interaction.
Web view scale not changing
Hi All,
I have a webview of size 300×250 which loads url from web say http://www.google.com
I’m trying to scale the webview so that the page fits properly based on the frame of webview, however when applying the scale, it seems to be unchanged.
Could anyone point out what could be wrong in the following code?
Console always prints:
03-29 15:11:29.146 : INFO / websample ( 3670 : 3670 ) : web view scale success, current scale: 1.000000
I tried changing the scale by adding a callback to web view loading finished but there it prints scale as 0.36 when setting scale as 0.5. Visually there is no change noticeable.
Is the issue because im passing 0,0 for the position to apply scale at? I don’t know how to scale the webview from the webview’s center point without user interaction.
Any help would be great.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio