forked from Shinonome/dots-hyprland
27 lines
560 B
QML
27 lines
560 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import "root:/modules/common/"
|
|
import "root:/modules/common/widgets/"
|
|
|
|
ColumnLayout {
|
|
id: root
|
|
property string title: ""
|
|
default property alias data: sectionContent.data
|
|
|
|
Layout.fillWidth: true
|
|
Layout.topMargin: 4
|
|
spacing: 2
|
|
|
|
ContentSubsectionLabel {
|
|
Layout.fillWidth: true
|
|
visible: root.title && root.title.length > 0
|
|
text: root.title
|
|
}
|
|
ColumnLayout {
|
|
id: sectionContent
|
|
Layout.fillWidth: true
|
|
spacing: 2
|
|
}
|
|
}
|