Revisions
-
Kernald revised this gist
Apr 28, 2013 . 1 changed file with 20 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,20 @@ ScrollView { scrollViewProperties.pinchToZoomEnabled: true scrollViewProperties.initialScalingMethod: ScalingMethod.AspectFit scrollViewProperties.minContentScale: 1 scrollViewProperties.maxContentScale: 10 scrollViewProperties.scrollMode: ScrollMode.Both onContentScaleChanged: { webView.settings.viewport = { "initial-scale": scale } } WebView { id: webView settings.viewport: { "initial-scale": 1.0 } } } -
dridk created this gist
Jan 15, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ ScrollView { scrollViewProperties.pinchToZoomEnabled: true scrollViewProperties.initialScalingMethod: ScalingMethod.AspectFit scrollViewProperties.minContentScale: 1 scrollViewProperties.maxContentScale: 10 scrollViewProperties.scrollMode: ScrollMode.Both Container { WebView { id:webView } } }