NIcon new widget to simplify icons display

This commit is contained in:
quadbyte 2025-08-17 16:04:23 -04:00
parent 9bb9e7e015
commit ac8b4793d8
21 changed files with 64 additions and 127 deletions

View file

@ -168,12 +168,11 @@ Item {
border.width: Math.max(1, Style.borderThin * scaling)
visible: isSelected
NText {
anchors.centerIn: parent
NIcon {
text: "check"
font.family: "Material Symbols Outlined"
font.pointSize: Style.fontSizeSmall * scaling
color: Color.mOnPrimary
anchors.centerIn: parent
}
}
@ -216,9 +215,8 @@ Item {
anchors.centerIn: parent
spacing: Style.marginMedium * scaling
NText {
NIcon {
text: "folder_open"
font.family: "Material Symbols Outlined"
font.pointSize: Style.fontSizeLarge * scaling
color: Color.mOnSurface
Layout.alignment: Qt.AlignHCenter