1
0
Fork 0

Launcher add-ons styling fixes

Suggested by Slawek Mikula, thanks!
This commit is contained in:
James Turner 2020-07-29 20:43:37 +01:00
parent 932938cbee
commit 25d88573d1
2 changed files with 8 additions and 7 deletions

View file

@ -44,6 +44,7 @@ Item {
id: contents
width: parent.width - (Style.margin * 2)
x: Style.margin
y: Style.margin
spacing: Style.margin
//////////////////////////////////////////////////////////////////

View file

@ -40,6 +40,7 @@ Rectangle {
id: content
width: root.width
height: childrenRect.height
y: Style.margin
Column {
id: columnTop
@ -47,6 +48,12 @@ Rectangle {
spacing: Style.margin
anchors.horizontalCenter: parent.horizontalCenter
AddOnsHeader {
id: catalogHeader
title: flickable.labelText(qsTr("Module"), mdx, "name");
width: parent.width
}
// description + authors container
Item {
width: parent.width
@ -59,13 +66,6 @@ Rectangle {
anchors.right: parent.right
spacing: Style.margin
StyledText {
id: addonName
text: flickable.labelText(qsTr("Module"), mdx, "name");
width: parent.width
wrapMode: Text.WordWrap
visible: flickable.getMeta(mdx, "name") != ""
}
StyledText {
id: addonDescription