summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/webbrowser.qml
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 /demos/declarative/webbrowser/webbrowser.qml
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 'demos/declarative/webbrowser/webbrowser.qml')
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index faafd5d..6a427f4 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -30,10 +30,10 @@ Item {
anchors.bottom: footer.top
}
RectSoftShadow {
- x: -webView.viewportX
- y: -webView.viewportY
- width: webView.viewportWidth
- height: webView.viewportHeight+headerSpace.height
+ x: -webView.contentX
+ y: -webView.contentY
+ width: webView.contentWidth
+ height: webView.contentHeight+headerSpace.height
}
Item {
id: headerSpace