Files
neochat/imports/NeoChat/Component/Timeline/SectionDelegate.qml
Carl Schwan 7ac232d372 Minor optimizations to the timeline delegates
* Use anchors instead of Layouts
* Don't use Loader for message display name
* Lazy load the emoji popup
2021-05-20 15:04:38 +00:00

16 lines
445 B
QML

// SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
// SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
// SPDX-License-Identifier: GPL-3.0-only
import QtQuick 2.15
import org.kde.kirigami 2.15 as Kirigami
Kirigami.Heading {
level: 4
text: model.showSection ? section : ""
verticalAlignment: Text.AlignVCenter
topPadding: Kirigami.Units.largeSpacing * 2
bottomPadding: Kirigami.Units.smallSpacing
}