diff options
Diffstat (limited to 'app/BtnShrink.qml')
-rw-r--r-- | app/BtnShrink.qml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/app/BtnShrink.qml b/app/BtnShrink.qml index 1387557..a028bce 100644 --- a/app/BtnShrink.qml +++ b/app/BtnShrink.qml @@ -1,25 +1,25 @@ -import QtQuick 2.0
-import QtQuick.Controls 1.5
-
-Item {
- Button {
- id: btn_shrink
- width: 100
- height: 100
-
- function zoomDown() {
- map.zoomLevel -= 1
- }
-
- onClicked: { zoomDown() }
-
- Image {
- id: image
- width: 92
- height: 92
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- source: "images/240px-Antu_file-zoom-out.svg.png"
- }
- }
-}
+import QtQuick 2.0 +import QtQuick.Controls 1.5 + +Item { + Button { + id: btn_shrink + width: 100 + height: 100 + + function zoomDown() { + map.zoomLevel -= 1 + } + + onClicked: { zoomDown() } + + Image { + id: image + width: 92 + height: 92 + anchors.verticalCenter: parent.verticalCenter + anchors.horizontalCenter: parent.horizontalCenter + source: "images/240px-Antu_file-zoom-out.svg.png" + } + } +} |