summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Settings.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-14 21:29:08 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-30 07:52:31 +0200
commit3d871ef0de72c175df555d68de09d551c307490e (patch)
treeaab694c2f11d53a0c507acf58dfbe721d4f7ed7b /mobile-widgets/qml/Settings.qml
parent2cc215d3f26788974b1d5c552cb3750ad6bf8d85 (diff)
downloadsubsurface-3d871ef0de72c175df555d68de09d551c307490e.tar.gz
mobile-widgets: do not use fontmetric for height
In order to remove fontMetrics from QML, replace references (height) in DownloadFromDiveComputer and Settings Add include kirigami as needed Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r--mobile-widgets/qml/Settings.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index cc2034bc9..a9cd4131c 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -91,9 +91,6 @@ Kirigami.ScrollablePage {
}
TemplateComboBox {
id: defaultCylinderBox
- Layout.preferredHeight: fontMetrics.height * 2.5
- inputMethodHints: Qt.ImhNoPredictiveText
- Layout.fillWidth: true
onActivated: {
// the entry for 'no default cylinder' is known to be the top, but its text
// is possibly translated so check against the index