summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/webview/zooming/zoomTextOnly.qml
blob: bf7f9ff93f598f318f961a1b479db9c2c6f5a1b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.7
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 }
    }
}