mirror of https://github.com/KDE/kasts.git
Delete old commented code and minor restructuring
This commit is contained in:
parent
5edc0b0f3e
commit
c158222d33
|
@ -21,25 +21,19 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
title: entry.title
|
title: entry.title
|
||||||
|
|
||||||
/*Flickable {
|
|
||||||
anchors.fill: parent
|
|
||||||
|
|
||||||
clip: true
|
Controls.Label {
|
||||||
contentHeight: text.height
|
width: page.width - 30
|
||||||
*/
|
id: text
|
||||||
Controls.Label {
|
text: page.entry.content
|
||||||
width: page.width - 30
|
baseUrl: page.entry.baseUrl
|
||||||
id: text
|
textFormat: Text.RichText
|
||||||
text: page.entry.content
|
wrapMode: Text.WordWrap
|
||||||
baseUrl: page.entry.baseUrl
|
Layout.fillWidth: true
|
||||||
textFormat: Text.RichText
|
Layout.fillHeight: true
|
||||||
wrapMode: Text.WordWrap
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
Layout.fillWidth: true
|
//onWidthChanged: { text = entry.adjustedContent(width, font.pixelSize) }
|
||||||
Layout.fillHeight: true
|
}
|
||||||
onLinkActivated: Qt.openUrlExternally(link)
|
|
||||||
//onWidthChanged: { text = entry.adjustedContent(width, font.pixelSize) }
|
|
||||||
}
|
|
||||||
//}
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
text: !entry.enclosure ? i18n("Open in Browser") :
|
text: !entry.enclosure ? i18n("Open in Browser") :
|
||||||
entry.enclosure.status === Enclosure.Downloadable ? i18n("Download") :
|
entry.enclosure.status === Enclosure.Downloadable ? i18n("Download") :
|
||||||
|
|
Loading…
Reference in New Issue