Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Row {
- anchors {
- horizontalCenter: parent.horizontalCenter
- }
- spacing: Theme.paddingSmall
- Label {
- id: prefixLabel
- font.pixelSize: Theme.fontSizeExtraSmall
- horizontalAlignment: Text.AlignRight
- text: qsTr("by")
- }
- Flow {
- spacing: Theme.paddingMedium
- Repeater {
- model: book ? book.authors.length : 0
- ClickableLabel {
- label.text: book.authors[index].name
- label.font.pixelSize: Theme.fontSizeExtraSmall
- label.horizontalAlignment: Qt.AlignLeft
- width: label.implicitWidth
- onClicked: {
- //TODO open author page
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement