diff options
author | Adasauce <adasauce@with.parts> | 2020-02-18 11:08:19 -0400 |
---|---|---|
committer | Adasauce <adasauce@with.parts> | 2020-02-18 11:08:19 -0400 |
commit | 111e4504acb5f1575b00d60cba8552c70db45c08 (patch) | |
tree | d9a23f6d976e17b3713c436ec60a8ef17508eafe /src/UserSettingsPage.h | |
parent | Paginationg != Paginating in debug message (diff) | |
download | nheko-111e4504acb5f1575b00d60cba8552c70db45c08.tar.xz |
Replace QHBoxLayout with QFormLayout in UserSettings
This allows form fields to wrap dynamically when they are too long for the view. This should help mobile and small screen users to configure the app without having to force it into portrait mode, or not be able to reach the settings fields at all.
Diffstat (limited to 'src/UserSettingsPage.h')
-rw-r--r-- | src/UserSettingsPage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 299905ab..7b290073 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -19,6 +19,7 @@ #include <QComboBox> #include <QFontDatabase> +#include <QFormLayout> #include <QFrame> #include <QLabel> #include <QLayout> @@ -166,6 +167,7 @@ private slots: private: // Layouts QVBoxLayout *topLayout_; + QFormLayout *formLayout_; QVBoxLayout *mainLayout_; QHBoxLayout *topBarLayout_; |