Skip to content

Commit

Permalink
Insure the copyright and image decorations interact with informationd…
Browse files Browse the repository at this point in the history
… drawer
  • Loading branch information
nirvn committed May 20, 2024
1 parent 1733781 commit fad8561
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,28 @@ ApplicationWindow {
mapSettings: mapCanvas.mapSettings
mapDistance: moveFeaturesToolbar.moveFeaturesRequested ? mapCanvas.mapSettings.center.y - moveFeaturesToolbar.startPoint.y : 0
}
}

InformationDrawer {
id: informationDrawer

navigation: navigation
positionSource: positionSource
positioningSettings: positioningSettings
positioningPreciseViewHeight: Math.min(mainWindow.height / 2.5, 400)
}

/**************************************************
* Map Canvas Overlays
* - Decorations
* - Scale Bar
* - UI elements such as QfToolButtons
**************************************************/

Item {
id: mapCanvasOverlays
anchors.fill: mapCanvas
anchors.bottomMargin: informationDrawer.height

Rectangle {
id: titleDecorationBackground
Expand Down Expand Up @@ -907,6 +929,7 @@ ApplicationWindow {
clip: true

color:'#55000000'

Text {
id: copyrightDecoration

Expand Down Expand Up @@ -942,28 +965,6 @@ ApplicationWindow {

source: ""
}
}

InformationDrawer {
id: informationDrawer

navigation: navigation
positionSource: positionSource
positioningSettings: positioningSettings
positioningPreciseViewHeight: Math.min(mainWindow.height / 2.5, 400)
}

/**************************************************
* Map Canvas Overlays
* - Decorations
* - Scale Bar
* - UI elements such as QfToolButtons
**************************************************/

Item {
id: mapCanvasOverlays
anchors.fill: mapCanvas
anchors.bottomMargin: informationDrawer.height

Text {
id: coordinateLocatorInformationOverlay
Expand Down

1 comment on commit fad8561

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.