Skip to content

Commit

Permalink
Add MMPage bottom margin
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Mar 4, 2024
1 parent 3e86f63 commit 3ad7442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/qml/components/MMPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Page {
property alias content: contentGroup.children

property double pageSpacing: __style.spacing40 // Change this to 20 if using searchbar
property real pageBottomMargin: __style.margin20 // Set to 0 to draw behind navigation bar

signal backClicked()

Expand Down Expand Up @@ -63,7 +64,7 @@ Page {
return minRightPadding
}

height: parent.height - root.pageSpacing
height: parent.height - root.pageSpacing - root.pageBottomMargin
width: parent.width - leftPadding - rightPadding

// center the content
Expand Down

0 comments on commit 3ad7442

Please sign in to comment.