2021-12-22 23:29:00 +00:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
|
|
|
* SPDX-FileCopyrightText: 2011 Marco Martin <notmart@gmail.com>
|
|
|
|
|
* SPDX-FileCopyrightText: 2014, 2019 Kai Uwe Broulik <kde@privat.broulik.de>
|
2024-07-27 02:29:38 +00:00
|
|
|
*
|
2021-12-22 23:29:00 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
|
*/
|
|
|
|
|
|
2024-07-27 02:29:38 +00:00
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Window
|
2021-12-22 23:29:00 +00:00
|
|
|
|
|
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
|
id: bodyText
|
|
|
|
|
|
|
|
|
|
background: Item {}
|
|
|
|
|
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
|
|
|
|
// https://bugreports.qt.io/browse/QTBUG-67007
|
|
|
|
|
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
|
|
|
|
|
|
|
|
|
maximumLineCount: 3
|
|
|
|
|
elide: Text.ElideRight
|
2024-11-07 16:13:06 +00:00
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
textFormat: TextEdit.PlainText
|
2024-08-01 01:18:33 +00:00
|
|
|
|
2021-12-22 23:29:00 +00:00
|
|
|
}
|
|
|
|
|
|