From 6be5aba7990ec53b104ddbd57256c2eedf91f8c4 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Mon, 16 May 2016 19:59:06 +0200 Subject: QML UI: hide handles for comboboxes Hide the handles for the comboboxes, making the text input fields look like the normal text fields. This is left as a separate patch as there currently seems to be issues with autocomplete on Android. Signed-off-by: Joakim Bygdell Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetailsEdit.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index 9986d234f..5b582d11e 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -160,6 +160,9 @@ Item { model: diveDetailsListView.currentItem.modelData.dive.suitList inputMethodHints: Qt.ImhNoPredictiveText Layout.fillWidth: true + style: ComboBoxStyle { + dropDownButtonWidth: 0 + } } Kirigami.Label { @@ -172,6 +175,9 @@ Item { model: diveDetailsListView.currentItem.modelData.dive.buddyList inputMethodHints: Qt.ImhNoPredictiveText Layout.fillWidth: true + style: ComboBoxStyle { + dropDownButtonWidth: 0 + } } Kirigami.Label { @@ -184,6 +190,9 @@ Item { model: diveDetailsListView.currentItem.modelData.dive.divemasterList inputMethodHints: Qt.ImhNoPredictiveText Layout.fillWidth: true + style: ComboBoxStyle { + dropDownButtonWidth: 0 + } } Kirigami.Label { -- cgit v1.2.3-70-g09d2