From c4ddd88fe3efad6b990544b91a5db336eabce796 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Thu, 7 Dec 2023 16:21:56 +0700 Subject: [PATCH] Harmonize and increase width of feature addition/view form --- src/qml/FeatureListForm.qml | 2 +- src/qml/OverlayFeatureFormDrawer.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qml/FeatureListForm.qml b/src/qml/FeatureListForm.qml index ad76905e4d..d753afef23 100644 --- a/src/qml/FeatureListForm.qml +++ b/src/qml/FeatureListForm.qml @@ -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 diff --git a/src/qml/OverlayFeatureFormDrawer.qml b/src/qml/OverlayFeatureFormDrawer.qml index 63ff23b343..3219a00ce7 100644 --- a/src/qml/OverlayFeatureFormDrawer.qml +++ b/src/qml/OverlayFeatureFormDrawer.qml @@ -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) } }