Fix scrollview details flickable

This commit is contained in:
Bart De Vries 2021-04-09 10:30:32 +02:00
parent ec6e47aea7
commit 518dbf293e
1 changed files with 15 additions and 13 deletions

View File

@ -44,23 +44,25 @@ Kirigami.Page {
height: Math.min(parent.height, Kirigami.Units.iconSizes.enormous * 3) height: Math.min(parent.height, Kirigami.Units.iconSizes.enormous * 3)
} }
} }
Item {
Flickable { Flickable {
anchors.fill: parent
anchors.margins: 25
clip: true clip: true
contentHeight: text.height contentHeight: text.height
Controls.Label { Controls.Label {
width: parent.width - 40 width: parent.width
id: text id: text
text: audio.entry.content text: audio.entry.content
verticalAlignment: Text.AlignTop verticalAlignment: Text.AlignTop
baseUrl: audio.entry.baseUrl baseUrl: audio.entry.baseUrl
textFormat: Text.RichText textFormat: Text.RichText
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
anchors.fill: parent
anchors.margins: 20
onLinkActivated: Qt.openUrlExternally(link) onLinkActivated: Qt.openUrlExternally(link)
} }
} }
} }
}
Controls.PageIndicator { Controls.PageIndicator {
id: indicator id: indicator