mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
2cc215d3f2
commit
3d871ef0de
3 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue