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

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