Commit b8096e9d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Center the icon together with the name

BUG: 384916
parent e408de5f
......@@ -94,7 +94,7 @@ DiscoverPage {
contentItem: Item {
RowLayout {
anchors.fill: parent
spacing: 0
spacing: Kirigami.Units.largeSpacing
ToolButton {
iconName: "draw-arrow-back"
......@@ -102,6 +102,9 @@ DiscoverPage {
enabled: appInfo.sClose.enabled
onClicked: appInfo.sClose.activated()
}
Item {
Layout.fillWidth: true
}
Kirigami.Icon {
Layout.preferredHeight: Kirigami.Units.gridUnit * 2
Layout.preferredWidth: Kirigami.Units.gridUnit * 2
......@@ -113,10 +116,12 @@ DiscoverPage {
level: 3
text: appInfo.application.name
maximumLineCount: 1
Layout.fillWidth: true
elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter
}
Item {
Layout.fillWidth: true
}
InstallApplicationButton {
application: appInfo.application
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment