Skip to content

Commit

Permalink
Merge pull request #3304 from MerginMaps/fix-project-wizard-add-field…
Browse files Browse the repository at this point in the history
…-button

Fix "Add field" button visibility in project wizard
  • Loading branch information
tomasMizera authored Apr 11, 2024
2 parents 5670529 + b3d77c2 commit 970f8f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/qml/project/MMProjectWizardPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ MMComponents.MMPage {

pageHeader.title: qsTr("Create Project")

pageBottomMargin: 0

pageContent: Item {

width: parent.width
Expand Down Expand Up @@ -48,7 +50,6 @@ MMComponents.MMPage {
MMComponents.MMText {
id: attributesLabel

height: root.rowheight
width: parent.width
text: qsTr("Fields")
color: __style.nightColor
Expand All @@ -62,7 +63,7 @@ MMComponents.MMPage {

model: fieldsModel
width: parent.width
height: parent.height - projectNameField.height - __style.margin20 - projectNameField.height
height: parent.height - __style.margin20 - projectNameField.height - __style.margin20 - attributesLabel.height
clip: true
spacing: __style.margin20

Expand Down Expand Up @@ -93,7 +94,7 @@ MMComponents.MMPage {
id: addButton

width: ListView.view.width
height: root.rowHeight
height: implicitHeight + topPadding

text: qsTr( "Add field" )

Expand Down

0 comments on commit 970f8f2

Please sign in to comment.