summary refs log tree commit diff
path: root/src/UserSettingsPage.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/UserSettingsPage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h
index ef8258b6..2b588412 100644
--- a/src/UserSettingsPage.h
+++ b/src/UserSettingsPage.h
@@ -33,6 +33,11 @@ constexpr int OptionMargin       = 6;
 constexpr int LayoutTopMargin    = 50;
 constexpr int LayoutBottomMargin = LayoutTopMargin;
 
+// based on the width of the widest item currently in the layout (deviceFingerprintValue_)
+// used for recalculating the margins of the formLayout_ on resize to help with small screens and
+// mobile devices.
+constexpr int LayoutMinWidth = 385;
+
 class UserSettings : public QObject
 {
         Q_OBJECT