Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/components/UserDelegate.qml
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 65 | Item { | |||
---|---|---|---|---|---|
67 | anchors { | 67 | anchors { | ||
68 | bottom: usernameDelegate.top | 68 | bottom: usernameDelegate.top | ||
69 | bottomMargin: units.largeSpacing | 69 | bottomMargin: units.largeSpacing | ||
70 | horizontalCenter: parent.horizontalCenter | 70 | horizontalCenter: parent.horizontalCenter | ||
71 | } | 71 | } | ||
72 | Behavior on width { | 72 | Behavior on width { | ||
73 | PropertyAnimation { | 73 | PropertyAnimation { | ||
74 | from: faceSize | 74 | from: faceSize | ||
75 | duration: units.longDuration * 2; | 75 | duration: units.longDuration; | ||
76 | } | 76 | } | ||
77 | } | 77 | } | ||
78 | width: isCurrent ? faceSize : faceSize - units.largeSpacing | 78 | width: isCurrent ? faceSize : faceSize - units.largeSpacing | ||
79 | height: width | 79 | height: width | ||
80 | 80 | | |||
81 | //Image takes priority, taking a full path to a file, if that doesn't exist we show an icon | 81 | //Image takes priority, taking a full path to a file, if that doesn't exist we show an icon | ||
82 | Image { | 82 | Image { | ||
83 | id: face | 83 | id: face | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |