mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 13:49:46 +02:00
Merge pull request #13599 from danteruiz/fix-combobox
fixing combo boxes
This commit is contained in:
commit
33fb759c0a
2 changed files with 0 additions and 2 deletions
|
@ -46,7 +46,6 @@ FocusScope {
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
visible: true
|
visible: true
|
||||||
height: hifi.fontSizes.textFieldInput + 13 // Match height of TextField control.
|
height: hifi.fontSizes.textFieldInput + 13 // Match height of TextField control.
|
||||||
textRole: "text"
|
|
||||||
|
|
||||||
function previousItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count - 1) % comboBox.count; }
|
function previousItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count - 1) % comboBox.count; }
|
||||||
function nextItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count + 1) % comboBox.count; }
|
function nextItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count + 1) % comboBox.count; }
|
||||||
|
|
|
@ -125,7 +125,6 @@ Rectangle {
|
||||||
id: wearablesCombobox
|
id: wearablesCombobox
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
comboBox.textRole: "text"
|
|
||||||
|
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
function findIndexById(id) {
|
function findIndexById(id) {
|
||||||
|
|
Loading…
Reference in a new issue