noctalia-shell/Widgets/NLabel.qml
Ly-sec 299add4a15 Remove need for polkit, launch any ArchUpdater update through terminal
ArchUpdater: rely on `TERMINAL` environment variable
README: Add explanation for the `TERMINAL` environment variable
2025-08-30 02:28:48 +02:00

28 lines
573 B
QML

import QtQuick
import QtQuick.Layouts
import qs.Commons
ColumnLayout {
property string label: ""
property string description: ""
spacing: Style.marginXXS * scaling
Layout.fillWidth: true
NText {
text: label
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightBold
color: Color.mOnSurface
visible: label !== ""
}
NText {
text: description
font.pointSize: Style.fontSizeS * scaling
color: Color.mOnSurfaceVariant
wrapMode: Text.WordWrap
visible: description !== ""
Layout.fillWidth: true
}
}