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