mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
45 lines
1 KiB
QML
45 lines
1 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell.Widgets
|
|
import qs
|
|
|
|
WrapperMouseArea {
|
|
id: root
|
|
|
|
required property var title
|
|
required property var description
|
|
|
|
RowLayout {
|
|
ColumnLayout {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
Text {
|
|
text: root.title
|
|
color: ShellSettings.colors.active
|
|
font.pointSize: 10
|
|
}
|
|
|
|
Text {
|
|
text: root.description
|
|
color: ShellSettings.colors.active.darker(2.0)
|
|
font.pointSize: 9
|
|
}
|
|
}
|
|
|
|
IconImage {
|
|
source: "root:resources/general/right-arrow.svg"
|
|
Layout.preferredWidth: height
|
|
Layout.fillHeight: true
|
|
Layout.alignment: Qt.AlignRight
|
|
Layout.margins: 2
|
|
}
|
|
|
|
// Rectangle {
|
|
// Layout.preferredWidth: height
|
|
// Layout.fillHeight: true
|
|
// Layout.alignment: Qt.AlignRight
|
|
// Layout.margins: 2
|
|
// }
|
|
}
|
|
}
|