~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-embedded-resources

« back to all changes in this revision

Viewing changes to modules/Ubuntu/ComponentsEmbedded/OptionSelectorDelegate.qml

  • Committer: Loïc Molinari
  • Date: 2014-07-29 11:15:01 UTC
  • Revision ID: loic.molinari@canonical.com-20140729111501-z5bmlv2ahukrpo9e
Added embedded components.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
*/
45
45
 
46
46
import QtQuick 2.0
47
 
import "ListItems" as ListItem
48
47
import Ubuntu.Components 1.1 as Toolkit
 
48
import Ubuntu.Components.ListItems 1.0 as ListItem
49
49
 
50
50
ListItem.Empty {
51
51
    id: option
326
326
            anchors {
327
327
                verticalCenter: parent.verticalCenter
328
328
            }
329
 
            Label {
 
329
            Toolkit.Label {
330
330
                text: option.text === "" ? modelData : option.text
331
331
            }
332
 
            Label {
 
332
            Toolkit.Label {
333
333
                text: option.subText
334
334
                visible: option.subText !== "" ? true : false
335
335
                fontSize: "small"