Warning, /plasma/plasma-systemmonitor/src/table/TextCellDelegate.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  * SPDX-FileCopyrightText: 2020 Arjen Hiemstra <ahiemstra@heimr.nl>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005  */
0006 
0007 import QtQuick
0008 import QtQuick.Controls
0009 
0010 import org.kde.kirigami as Kirigami
0011 
0012 BaseCellDelegate {
0013     id: delegate
0014 
0015     leftPadding: Kirigami.Units.smallSpacing
0016 
0017     contentItem: Label {
0018         id: label
0019         text: delegate.text
0020         maximumLineCount: 1
0021         elide: Text.ElideRight
0022         horizontalAlignment: Text.AlignHCenter
0023     }
0024 }