aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2021-07-12 16:33:26 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-14 12:50:26 +0000
commit6352528ed2844d452a6aca95f2f3d46af5bc9dfa (patch)
treea9f8150d86c574f72cfff07c553c71625742c6e4 /src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml
parent65df43889c53cb8d1b9ee8606cac903174443472 (diff)
Improve visuals of non-native FontDialogs
- Specify preferredHeights directly on the items that need them rather than doing it at a higher level. This makes the lower row with the text edits and check boxes shorter, giving more space to the row with the list views. - Convert the ColumnLayout containing the check boxes into a RowLayout to save vertical space. - Add some spacing and padding where necessary now that everything is more compressed. Task-number: QTBUG-87799 Change-Id: Iba288f678c1d449ace3bc143073d216fe69d9d9a Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit e2f4afcedb857f22e80671b638a80245a09cb249) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml')
-rw-r--r--src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml b/src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml
index db1062b7ea..8a660cb7d0 100644
--- a/src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml
+++ b/src/quickdialogs2/quickdialogs2quickimpl/qml/+Material/FontDialog.qml
@@ -104,6 +104,7 @@ FontDialogImpl {
leftPadding: 24
rightPadding: 24
topPadding: 24
+ bottomPadding: 24
}
contentItem: FontDialogContent {