From 1c64ebc3caf1568bd4edd0fa1753926e9a4be2cb Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Thu, 12 Jul 2018 13:57:48 -0700 Subject: [PATCH] fixing combo boxes --- interface/resources/qml/controls-uit/ComboBox.qml | 1 - interface/resources/qml/hifi/avatarapp/AdjustWearables.qml | 1 - 2 files changed, 2 deletions(-) diff --git a/interface/resources/qml/controls-uit/ComboBox.qml b/interface/resources/qml/controls-uit/ComboBox.qml index 9ec5ed19ba..be8c9f6740 100644 --- a/interface/resources/qml/controls-uit/ComboBox.qml +++ b/interface/resources/qml/controls-uit/ComboBox.qml @@ -46,7 +46,6 @@ FocusScope { hoverEnabled: true visible: true height: hifi.fontSizes.textFieldInput + 13 // Match height of TextField control. - textRole: "text" function previousItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count - 1) % comboBox.count; } function nextItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count + 1) % comboBox.count; } diff --git a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml index a501185853..10613a9ec1 100644 --- a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml +++ b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml @@ -125,7 +125,6 @@ Rectangle { id: wearablesCombobox anchors.left: parent.left anchors.right: parent.right - comboBox.textRole: "text" model: ListModel { function findIndexById(id) {