Fix illegal Colors.fontXXXX

This commit is contained in:
quadbyte 2025-08-12 10:24:20 -04:00
parent dab1b9b389
commit 7fe87c0633
2 changed files with 5 additions and 5 deletions

View file

@ -128,7 +128,7 @@ PopupWindow {
color: (modelData?.enabled
?? true) ? (mouseArea.containsMouse ? Colors.onAccent : Colors.textPrimary) : Colors.textDisabled
text: modelData?.text ?? ""
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}
@ -145,7 +145,7 @@ PopupWindow {
Text {
text: modelData?.hasChildren ? "menu" : ""
font.family: "Material Symbols Outlined"
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
verticalAlignment: Text.AlignVCenter
visible: modelData?.hasChildren ?? false
color: Colors.textPrimary
@ -363,7 +363,7 @@ PopupWindow {
Layout.fillWidth: true
color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Colors.textDisabled
text: modelData?.text ?? ""
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}
@ -380,7 +380,7 @@ PopupWindow {
NText {
text: modelData?.hasChildren ? "\uE5CC" : ""
font.family: "Material Symbols Outlined"
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
verticalAlignment: Text.AlignVCenter
visible: modelData?.hasChildren ?? false
}

View file

@ -54,7 +54,7 @@ Item {
color: Colors.textPrimary
placeholderTextColor: Colors.textSecondary
background: null
font.pointSize: Colors.fontSizeSmall * scaling
font.pointSize: Style.fontSizeSmall * scaling
onEditingFinished: root.onEditingFinished()
// Text changes are observable via the aliased 'text' property (root.text) and its 'textChanged' signal.
// No additional callback is invoked here to avoid conflicts with QML's onTextChanged handler semantics.