mirror of https://github.com/KDE/kasts.git
Fix scrollview details flickable
This commit is contained in:
parent
ec6e47aea7
commit
518dbf293e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue