aboutsummaryrefslogtreecommitdiffstats
path: root/BtnShrink.qml
blob: e34489d6feb13d664e46472482f3e419a22dc357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-3.0+
// Copyright (C) 2021 AISIN CORPORATION
// Copyright (C) 2024 Automotive Grade Linux

import QtQuick
import QtQuick.Controls

Item {
    Button {
        id: btn_shrink
        width: 100
        height: 100
        opacity: 0

        function zoomDown() {
            map.zoomLevel -= 1
        }

        onClicked: { zoomDown() }
    }

    Image {
        id: image
        x: 4
        y: 4
        width: 92
        height: 92
        opacity: 1
        source: "images/03_DETAIL.png"
    }
}