on bb09f86 help sign in
unity8/qml/Launcher/MoreAppsHeader.qml
53 lines 1.3 kB history raw
1import QtQuick 2.4
2import Ubuntu.Components 1.3
4AbstractButton {
5 id: root
7 property bool highlighted: false
9 UbuntuShape {
10 width: parent.width - units.gu(2)
11 anchors.horizontalCenter: parent.horizontalCenter
12 height: parent.height - units.gu(1)
13 color: "#20ffffff"
14 aspect: UbuntuShape.Flat
16 StyledItem {
17 styleName: "FocusShape"
18 anchors.fill: parent
19 activeFocusOnTab: true
20 StyleHints {
21 visible: root.highlighted
22 }
23 }
25 Row {
26 anchors.fill: parent
27 anchors.margins: units.gu(1)
28 spacing: units.gu(1)
30 Icon {
31 height: units.gu(2.2)
32 width: height
33 name: "stock_application"
34 anchors.verticalCenter: parent.verticalCenter
35 color: "white"
36 }
38 Label {
39 text: i18n.tr("More apps in the store")
40 anchors.verticalCenter: parent.verticalCenter
41 fontSize: "small"
42 }
44 Icon {
45 height: units.gu(2.5)
46 width: height
47 anchors.verticalCenter: parent.verticalCenter
48 name: "go-next"
49 color: "white"
50 }
51 }
52 }