Skip to content

Commit

Permalink
Updated map items
Browse files Browse the repository at this point in the history
  • Loading branch information
iiLubos committed Oct 24, 2023
1 parent df7996e commit 4dce2d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/qmlV2/component/MMMapButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ import "."
Item {
id: control

width: 50
height: 50
width: height
height: Style.commonItemHeight

property alias iconSource: icon.source

signal clicked

Expand All @@ -35,7 +37,6 @@ Item {
id: icon

anchors.centerIn: parent
source: Style.arrowLinkRightIcon
color: Style.forest
}

Expand Down
4 changes: 4 additions & 0 deletions gallery/qml/pages/MapPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,13 @@ Page {
spacing: 20

MMMapButton {
iconSource: Style.arrowLinkRightIcon
onClicked: console.log("Map button clicked")
}

MMMapButton {
iconSource: Style.searchIcon
onClicked: console.log("Map button clicked")
}
}

Expand Down

0 comments on commit 4dce2d4

Please sign in to comment.