Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

quickshell/nuguland/features/system/IdentityRow.qml

Raw
import QtQuick
import "../.."

Row {
    id: root

    required property Theme theme
    property string glyph: ""
    property string value: ""

    width: parent ? parent.width : 0
    spacing: 9

    Text {
        id: glyphText

        width: 18
        text: root.glyph
        color: root.theme.ui.minor
        font.family: root.theme.fontIcon
        font.pixelSize: 13
    }

    NuguText {
        theme: root.theme
        variant: "meta"
        text: root.value
        width: Math.max(1, root.width - glyphText.width - root.spacing)
    }
}