Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.9.0, 5.9.1
-
None
-
Qt 5.9.1, Creator 4.3.1, Windows 10, Ubuntu 16.04.
Description
QML Type ComboBox in version Qt 5.9 behaves differently from Qt 5.8. In Qt 5.9 the textbox of a ComboBox ignores formatting and doesn't support multiline text and HTML.
Here's a minimalistic example for producing the problem:
main.qml:
import QtQuick 2.8 import QtQuick.Controls 2.1 import QtQuick.Window 2.2 ApplicationWindow { visible: true width: 400 height: 300 title: qsTr("ComboBox test with Qt 5.8") //title: qsTr("ComboBox test with Qt 5.9") ComboBox { id: multilineComboBox anchors { topMargin: 20 rightMargin: 20 leftMargin: 20 top: parent.top right: parent.right left: parent.left } model: [ "multiline:\n choise 1", "multiline:\n choise 2", "multiline:\n choise 3" ] } }