summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/webview/zooming/zoomTextOnly.qml
blob: 741450f0d3c4021a774e189026506d9def64884e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.6
import org.webkit 1.0

WebView {
    width: 200
    height: 250
    url: "zoomTextOnly.html"
    settings.zoomTextOnly: true
    SequentialAnimation on zoomFactor {
        loops: Animation.Infinite
        NumberAnimation { from: 2; to: 0.25; duration: 1000 }
        NumberAnimation { from: 0.25; to: 2; duration: 1000 }
    }
}