Public bug reported:
import QtQuick 2.0
import Ubuntu.Components 1.3
Column {
spacing: units.gu(3)
OptionSelector {
text: i18n.tr("Label")
model: customModel
expanded: true
colourImage: true
delegate: selectorDelegate
}
Component {
id: selectorDelegate
OptionSelectorDelegate { text: name; subText: description; enabled:
isenabled }
}
ListModel {
id: customModel
ListElement { name: "Name 1"; description: "Description 1"; isenabled:
true }
ListElement { name: "Name 2"; description: "Description 2"; isenabled:
false }
ListElement { name: "Name 3"; description: "Description 3"; isenabled:
true }
ListElement { name: "Name 4"; description: "Description 4"; isenabled:
false }
}
}
====
Above example renders the second and fourth element completely empty.
Expected:
Show the contents of the element grayed out.
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577359
Title:
OptionSelectorDelegate: Renders empty if enabled: false
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1577359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs