summaryrefslogtreecommitdiffstats
path: root/demos/declarative
diff options
context:
space:
mode:
authorTapani Mikola <tapani.mikola@nokia.com>2009-08-10 19:21:24 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-13 05:21:32 (GMT)
commit6bb860bc0ef7a6457382110a92b8eb4745eeb968 (patch)
treecea46b4e909376f5f49f3c815bf44708e5a249b6 /demos/declarative
parent421d6bdfa8163b35f232f2e408bee09cf844134f (diff)
downloadQt-6bb860bc0ef7a6457382110a92b8eb4745eeb968.zip
Qt-6bb860bc0ef7a6457382110a92b8eb4745eeb968.tar.gz
Qt-6bb860bc0ef7a6457382110a92b8eb4745eeb968.tar.bz2
Border Image fis to webbrowser.qml
Diffstat (limited to 'demos/declarative')
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 9943011..e501e12 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -78,7 +78,8 @@ Item {
Text {
id: HeaderText
- text: MyWebView.title!='' || MyWebView.progress == 1.0 ? MyWebView.title : 'Loading...'
+ //text: MyWebView.title!='' || MyWebView.progress == 1.0 ? MyWebView.title : 'Loading...'
+ text: MyWebView.url
elide: "ElideRight"
color: "white"
@@ -114,12 +115,12 @@ Item {
clip: true
property bool mouseGrabbed: false
- Image {
+ BorderImage {
source: "content/pics/addressbar.sci"
anchors.fill: UrlBox
}
- Image {
+ BorderImage {
id: UrlBoxhl
source: "content/pics/addressbar-filled.sci"
width: parent.width*MyWebView.progress
@@ -221,7 +222,7 @@ Item {
}*/
}
}
- Image {
+ BorderImage {
id: Footer
source: "content/pics/footer.sci"
width: parent.width