Skip to content

Commit

Permalink
final commit for fixing gpsdatadrawer
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Feb 13, 2024
1 parent 6d2f93f commit f03aa80
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions app/qml/misc/MMGpsDataDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Drawer {
spacing: 40 * __dp

MMHeader {

id: header

rightMarginShift: 0
Expand Down Expand Up @@ -114,18 +115,6 @@ Drawer {
Layout.maximumWidth: __style.maxPageWidth
Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: ApplicationWindow.window.height - header.height - primaryButton.height - mainColumn.spacing * 3
// Layout.preferredHeight: {
// if (ApplicationWindow.window){
// var availableHeight = ApplicationWindow.window.height - header.height - mainColumn.spacing
// var totalHeight = scrollColumn.childrenRect.height + 20 * __dp

// if(totalHeight >= ApplicationWindow.window.height) {
// return availableHeight
// }
// return totalHeight
// }
// return 0
// }
contentWidth: availableWidth
contentHeight: scrollColumn.childrenRect.height

Expand Down Expand Up @@ -324,7 +313,7 @@ Drawer {
id: primaryButton
text: qsTr("Manage GPS receivers")
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
Layout.margins: 20 * __dp
Layout.margins: ( mainColumn.spacing / 2 ) * __dp
width: parent.width - 2 * 20 * __dp
onClicked: {
additionalContent.push(positionProviderComponent)
Expand Down

1 comment on commit f03aa80

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

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

iOS - version 24.02.520711 just submitted!

Please sign in to comment.