nheko/resources/qml/delegates/NoticeMessage.qml

10 lines
237 B
QML
Raw Normal View History

2019-11-03 03:28:16 +01:00
import ".."
2019-09-07 01:33:46 +02:00
2019-11-03 03:28:16 +01:00
MatrixText {
property string notice: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
text: notice
2019-10-27 22:01:40 +01:00
width: parent ? parent.width : undefined
2019-09-07 01:33:46 +02:00
font.italic: true
color: inactiveColors.text
}