Skip to content

Commit

Permalink
Harmonize and increase width of feature addition/view form
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 7, 2023
1 parent ff219e0 commit c4ddd88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/qml/FeatureListForm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Rectangle {
}
else
{
Math.min(Math.max( 200, parent.width / 2.6), parent.width)
Math.min(Math.max(200, parent.width / 2.25), parent.width)
}
}
else
Expand Down
4 changes: 2 additions & 2 deletions src/qml/OverlayFeatureFormDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Drawer {
if (qfieldSettings.fullScreenIdentifyView || parent.width < parent.height || parent.width < 300) {
parent.width
} else {
Math.min(Math.max( 200, parent.width / 3), parent.width)
Math.min(Math.max(200, parent.width / 2.25), parent.width)
}
}
height: {
if (qfieldSettings.fullScreenIdentifyView || parent.width > parent.height) {
parent.height
} else {
Math.min(Math.max( 200, parent.height / 2 ), parent.height)
Math.min(Math.max(200, parent.height / 2), parent.height)
}
}

Expand Down

1 comment on commit c4ddd88

@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.