nextcloud-desktop/src/gui/tray/UnifiedSearchResultSectionItem.qml
Claudio Cambra 8d0df62c49 Stop styling QML unified search items hierarchically, use global Style constants
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-21 15:38:18 +02:00

21 lines
637 B
QML

import QtQml 2.15
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.2
import Style 1.0
import com.nextcloud.desktopclient 1.0
Label {
required property string section
topPadding: Style.unifiedSearchResultSectionItemVerticalPadding
bottomPadding: Style.unifiedSearchResultSectionItemVerticalPadding
leftPadding: Style.unifiedSearchResultSectionItemLeftPadding
text: section
font.pixelSize: Style.unifiedSearchResultTitleFontSize
color: UserModel.currentUser.accentColor
Accessible.role: Accessible.Separator
Accessible.name: qsTr("Search results section %1").arg(section)
}