diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-16 05:42:55 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-16 05:42:55 (GMT) |
commit | 39653e0ff461875b5bbe31c955a7c217abc2931f (patch) | |
tree | 0307170dfd4c9d6a92e0b9a68ce865333cedfbd0 /demos/declarative/webbrowser/content | |
parent | 25419577354f0a6af77e49acd860a84fc4aa26ae (diff) | |
download | Qt-39653e0ff461875b5bbe31c955a7c217abc2931f.zip Qt-39653e0ff461875b5bbe31c955a7c217abc2931f.tar.gz Qt-39653e0ff461875b5bbe31c955a7c217abc2931f.tar.bz2 |
Don't use zoomfactor.
It gives better resolution for text positioning, btu many web sites
don't work well with it and WebKit.
Diffstat (limited to 'demos/declarative/webbrowser/content')
-rw-r--r-- | demos/declarative/webbrowser/content/FlickableWebView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/webbrowser/content/FlickableWebView.qml b/demos/declarative/webbrowser/content/FlickableWebView.qml index 81904c6..46f45e0 100644 --- a/demos/declarative/webbrowser/content/FlickableWebView.qml +++ b/demos/declarative/webbrowser/content/FlickableWebView.qml @@ -45,7 +45,7 @@ Flickable { smoothCache: true // We do want smooth rendering fillColor: "white" focus: true - zoomFactor: 4 + zoomFactor: 1 onAlert: console.log(message) @@ -73,7 +73,7 @@ Flickable { contentsScale: 1/zoomFactor onContentsSizeChanged: { // zoom out - contentsScale = Math.min(0.25,flickable.width / contentsSize.width) + contentsScale = Math.min(1,flickable.width / contentsSize.width) } onUrlChanged: { // got to topleft |