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

Improve UpdatePage resource delegate

Align the "more info" button to the right.
Improve placement of the changelog frame to accommodate changelogs with
multiple lines

BUG: 388717
parent 2e492a69
......@@ -193,19 +193,24 @@ DiscoverPage
}
QQC2.Frame {
Layout.fillWidth: true
Layout.minimumHeight: view.contentHeight
visible: layout.extended && changelog.length>0
QQC2.Label {
id: view
Layout.fillHeight: true
Layout.fillWidth: true
anchors {
right: parent.right
left: parent.left
}
text: changelog
textFormat: Text.RichText
textFormat: Text.StyledText
wrapMode: Text.WordWrap
onLinkActivated: Qt.openUrlExternally(link)
}
}
Button {
Layout.alignment: Qt.AlignRight
text: i18n("More Information...")
visible: layout.extended
enabled: !resourcesUpdatesModel.isProgressing
......
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