~fkrull/unity-2d/compiz-integration

« back to all changes in this revision

Viewing changes to places/HomeButton.qml

  • Committer: Tarmac
  • Author(s): Florian Boucault
  • Date: 2011-04-08 12:52:33 UTC
  • mfrom: (519.1.2 multiline)
  • Revision ID: ubuntu.builder@gmail.com-20110408125233-l72vlu4oqohu1i5j
[dash] Labels are now multiline to allow for more text to be displayed and the user
to have a better chance to understand what the items are. Hovering over cropped labels
will expand them fully.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        }
49
49
    }
50
50
 
51
 
    TextCustom {
 
51
    TextMultiLine {
52
52
        id: label
53
53
 
54
54
        color: parent.state == "pressed" ? "#444444" : "#ffffff"
55
 
        elide: Text.ElideMiddle
56
55
        horizontalAlignment: Text.AlignHCenter
57
56
        anchors.bottom: parent.bottom
58
57
        anchors.right: parent.right
60
59
        anchors.bottomMargin: 3
61
60
        anchors.rightMargin: 5
62
61
        anchors.leftMargin: 7
 
62
        height: 40
63
63
        font.underline: parent.activeFocus
64
64
        font.bold: true
65
65
        font.pixelSize: 16