Also fix combobox list item heights for extruder dropdowns

This commit is contained in:
ChrisTerBeke 2018-01-03 12:48:33 +01:00
parent 1fe653b231
commit 3a2b2d3333
2 changed files with 32 additions and 0 deletions

View file

@ -164,5 +164,21 @@ SettingItem
color: control.color
}
}
delegate: ItemDelegate
{
width: control.width
height: control.height
highlighted: control.highlightedIndex == index
contentItem: Text
{
text: modelData.value
color: control.contentItem.color
font: control.font
elide: Text.ElideRight
verticalAlignment: Text.AlignVCenter
}
}
}
}