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