summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-26 02:01:05 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-26 02:01:05 (GMT)
commit5fb329228bd1cd1126428b045a41a4a9c1033dc5 (patch)
treef93828abe89818729d717d3e9cdae94929f6fb13 /examples/declarative/webview
parent3218d437a13ac82f65abcea0db099f54504c8875 (diff)
downloadQt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.zip
Qt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.tar.gz
Qt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.tar.bz2
Renamed Flickable viewportXXX properties contentXXX
A viewport is the thing you look through, not what you look at.
Diffstat (limited to 'examples/declarative/webview')
-rw-r--r--examples/declarative/webview/qdeclarative-in-html.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/webview/qdeclarative-in-html.qml b/examples/declarative/webview/qdeclarative-in-html.qml
index a2f2f2a..77180ec 100644
--- a/examples/declarative/webview/qdeclarative-in-html.qml
+++ b/examples/declarative/webview/qdeclarative-in-html.qml
@@ -6,8 +6,8 @@ Rectangle {
Flickable {
width: parent.width
height: parent.height/2
- viewportWidth: web.width*web.scale
- viewportHeight: web.height*web.scale
+ contentWidth: web.width*web.scale
+ contentHeight: web.height*web.scale
WebView {
id: web
width: 250