summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/alerts.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/webview/alerts.qml')
-rw-r--r--examples/declarative/webview/alerts.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/webview/alerts.qml b/examples/declarative/webview/alerts.qml
index 2ba4300..6a5a0d2 100644
--- a/examples/declarative/webview/alerts.qml
+++ b/examples/declarative/webview/alerts.qml
@@ -3,17 +3,17 @@ import org.webkit 1.0
WebView {
id: webView
- onAlert: popup.show(message)
width: 120
height: 150
url: "alerts.html"
+ onAlert: popup.show(message)
+
Rectangle {
id: popup
color: "red"
- border.color: "black"
- border.width: 2
+ border.color: "black"; border.width: 2
radius: 4
y: parent.height // off "screen"