summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/zooming/zoomTextOnly.qml
blob: c2e9348ff0b0f9219a2cf6617b584a4ccbf89d5f (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 {
            repeat: true
            NumberAnimation { from: 2; to: 0.25; duration: 1000 }
            NumberAnimation { from: 0.25; to: 2; duration: 1000 }
        }
}