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
|
@ -2,8 +2,11 @@
|
|||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Layouts 1.11
|
||||
import org.kde.kirigami 2.4 as Kirigami
|
||||
|
||||
ComboBox {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Kirigami.Units.gridUnit * 2.5
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
font.pointSize: subsurfaceTheme.regularPointSize
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue