// SPDX-FileCopyrightText: 2026 Matvey Shcherbinin // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL import QtQuick import koutnet.app import QtQuick.Layouts import QtQuick.Controls as QQC2 import org.kde.kirigami as Kirigami // the one shape every profile surface is built out of below the identity block: a // small grey word, then the thing itself. It was written out four times and the four // had drifted into three different gaps and two different label colours. ColumnLayout { id: root property string label: "" default property alias content: body.data spacing: 0 QQC2.Label { Layout.fillWidth: true visible: root.label.length > 0 text: root.label textFormat: Text.PlainText elide: Text.ElideRight font: Kirigami.Theme.smallFont color: AppPalette.disabledText } ColumnLayout { id: body Layout.fillWidth: true spacing: Kirigami.Units.smallSpacing } }