~faenil/ubuntu-ui-toolkit/listitemlayout_fixes_and_docs

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/Themes/Ambiance/1.3/ToolbarButtonStyle.qml

  • Committer: Andrea Bernabei
  • Date: 2016-01-20 13:47:23 UTC
  • mfrom: (1795.2.13 staging)
  • Revision ID: andrea.bernabei@canonical.com-20160120134723-hn6rkf4s3pie0wwp
merge staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        height: icon.height + label.height + label.anchors.topMargin
32
32
        opacity: styledItem.enabled ? 1.0 : 0.3
33
33
 
 
34
        // FIXME: is there a reason we are still using styledItem.iconSource instead of iconName
 
35
        // so we coudl use the Icon?
34
36
        Image {
35
37
            id: icon
36
38
            anchors {
53
55
            width: paintedWidth
54
56
            text: styledItem.text
55
57
            textSize: Label.XSmall
 
58
            color: styledItem.enabled
 
59
                   ? theme.palette.normal.raisedText
 
60
                   : theme.palette.inactive.raisedText
56
61
        }
57
62
    }
58
63