2018-12-07 01:18:42 +00:00
|
|
|
import QtQuick 2.12
|
2018-12-22 14:25:03 +00:00
|
|
|
import QtQuick.Controls 2.12
|
|
|
|
import QtQuick.Layouts 1.12
|
|
|
|
import QtQuick.Controls.Material 2.12
|
2018-10-01 08:07:48 +00:00
|
|
|
|
|
|
|
import Spectral.Setting 0.1
|
2018-09-04 06:58:41 +00:00
|
|
|
|
|
|
|
Label {
|
|
|
|
text: "<b>" + author.displayName + "</b> " + display
|
2018-12-22 14:25:03 +00:00
|
|
|
color: MPalette.foreground
|
|
|
|
font.pixelSize: 13
|
|
|
|
font.weight: Font.Medium
|
2018-09-04 06:58:41 +00:00
|
|
|
|
2018-11-16 12:30:42 +00:00
|
|
|
topPadding: 8
|
|
|
|
bottomPadding: 8
|
2018-12-22 14:25:03 +00:00
|
|
|
leftPadding: 24
|
|
|
|
rightPadding: 24
|
2018-09-04 06:58:41 +00:00
|
|
|
|
|
|
|
wrapMode: Label.Wrap
|
|
|
|
textFormat: MSettings.richText ? Text.RichText : Text.StyledText
|
|
|
|
onLinkActivated: Qt.openUrlExternally(link)
|
|
|
|
|
|
|
|
background: Rectangle {
|
2019-05-08 13:15:09 +00:00
|
|
|
color: MPalette.background
|
2018-12-22 14:25:03 +00:00
|
|
|
radius: 4
|
2019-04-22 01:28:33 +00:00
|
|
|
antialiasing: true
|
2018-09-04 06:58:41 +00:00
|
|
|
}
|
|
|
|
}
|