Qml/ModPage: make name bold and bigger, show authors
This commit is contained in:
parent
4edfdc8706
commit
446ca73a91
1 changed files with 9 additions and 3 deletions
|
|
@ -62,11 +62,17 @@ Kirigami.Page {
|
|||
|
||||
// Name and author
|
||||
ColumnLayout {
|
||||
Controls.Label {
|
||||
text: `Name: ${mod.name}`
|
||||
Kirigami.Heading {
|
||||
text: mod.name
|
||||
type: Kirigami.Heading.Type.Primary
|
||||
}
|
||||
Controls.Label {
|
||||
text: `Author placeholder`
|
||||
property bool hasAuthors: mod.authors.length > 0
|
||||
function joinAuthors() {
|
||||
return mod.authors.join(", ")
|
||||
}
|
||||
|
||||
text: hasAuthors ? joinAuthors() : "Unknown author"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue