More changes to PlayerControls

Trying to put the episode description into the swipeview with a minimal
set of code.  This will allow EntryPage to be refactored with nicer
headers etc.
This commit is contained in:
Bart De Vries 2021-04-09 00:03:47 +02:00
parent 71c86d5645
commit bbba177462

View File

@ -44,8 +44,24 @@ Kirigami.Page {
height: Math.min(parent.height, Kirigami.Units.iconSizes.enormous * 3)
}
}
EntryPage { entry: audio.entry }
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
anchors.fill: parent
anchors.margins: 20
onLinkActivated: Qt.openUrlExternally(link)
}
}
}
Controls.PageIndicator {
id: indicator