summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-05-11 05:30:14 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-05-11 05:30:14 (GMT)
commit04599cd17221b269028cab81054525a7f0a0e394 (patch)
tree08b6b280000404449562da7c31be88f4a7e9d972
parent5683a1b9dc6ce944ea250f05f92ccdec4c217410 (diff)
downloadQt-04599cd17221b269028cab81054525a7f0a0e394.zip
Qt-04599cd17221b269028cab81054525a7f0a0e394.tar.gz
Qt-04599cd17221b269028cab81054525a7f0a0e394.tar.bz2
Fix webbrowser demo
-rw-r--r--demos/declarative/webbrowser/content/RectSoftShadow.qml2
-rw-r--r--demos/declarative/webbrowser/content/pics/footer.sci6
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml4
3 files changed, 9 insertions, 3 deletions
diff --git a/demos/declarative/webbrowser/content/RectSoftShadow.qml b/demos/declarative/webbrowser/content/RectSoftShadow.qml
index 5817f00..1734433 100644
--- a/demos/declarative/webbrowser/content/RectSoftShadow.qml
+++ b/demos/declarative/webbrowser/content/RectSoftShadow.qml
@@ -24,7 +24,7 @@ Item {
source: "pics/softshadow-bottom.png"
x: 0
y: parent.height
- width: webview.width*webview.scale
+ width: WebView.width*WebView.scale
height: 16
}
}
diff --git a/demos/declarative/webbrowser/content/pics/footer.sci b/demos/declarative/webbrowser/content/pics/footer.sci
new file mode 100644
index 0000000..be1d086
--- /dev/null
+++ b/demos/declarative/webbrowser/content/pics/footer.sci
@@ -0,0 +1,6 @@
+gridLeft: 5
+gridTop: 0
+gridBottom: 0
+gridRight: 5
+imageFile: footer.png
+
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index c754543..4b03b63 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -73,7 +73,7 @@ Item {
color: "white"
styleColor: "black"
- style: Raised
+ style: "Raised"
font.family: "Helvetica"
font.size: 10
@@ -85,7 +85,7 @@ Item {
anchors.rightMargin: 4
anchors.top: Header.top
anchors.topMargin: 4
- hAlign: AlignHCenter
+ hAlign: "AlignHCenter"
}
Item {
width: parent.width