mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-09 07:12:07 -04:00
30 lines
638 B
QML
30 lines
638 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.Common
|
|
import qs.Widgets
|
|
|
|
RowLayout {
|
|
property string label: ""
|
|
property string value: ""
|
|
|
|
Layout.fillWidth: true
|
|
spacing: Theme.spacingS
|
|
|
|
StyledText {
|
|
text: label + ":"
|
|
font.pixelSize: Theme.fontSizeSmall
|
|
font.weight: Font.Medium
|
|
color: Theme.surfaceVariantText
|
|
Layout.preferredWidth: 100
|
|
}
|
|
|
|
StyledText {
|
|
text: value
|
|
font.pixelSize: Theme.fontSizeSmall
|
|
font.family: SettingsData.monoFontFamily
|
|
color: Theme.surfaceText
|
|
Layout.fillWidth: true
|
|
elide: Text.ElideRight
|
|
}
|
|
}
|