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) height: Math.min(parent.height, Kirigami.Units.iconSizes.enormous * 3)
} }
} }
Flickable { Item {
clip: true Flickable {
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
anchors.fill: parent anchors.fill: parent
anchors.margins: 20 anchors.margins: 25
onLinkActivated: Qt.openUrlExternally(link) 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)
}
} }
} }
} }