Ubuntu Pastebin

Paste from ahayzen at Wed, 6 Jan 2016 17:56:10 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
        ListItemLayout {
            id: listItemLayout
            anchors {
                bottom: parent.bottom
                left: parent.left
                right: parent.right
                top: coverGrid.bottom
            }
            subtitle {
                color: "#FFF"
                elide: Text.ElideRight
                fontSize: "x-small"
                maximumLineCount: title.lineCount > 1 ? 1 : 2
                opacity: 0.4
                wrapMode: Text.WrapAtWordBoundaryOrAnywhere
            }

            title {
                color: "#FFF"
                elide: Text.ElideRight
                fontSize: "small"
                maximumLineCount: 2
                wrapMode: Text.WrapAtWordBoundaryOrAnywhere

                onLineCountChanged: {
                    console.debug("LineCount", title.lineCount, "height", title.height)
                }
            }
        }
Download as text