Fix illegal Colors.fontXXXX
This commit is contained in:
parent
dab1b9b389
commit
7fe87c0633
2 changed files with 5 additions and 5 deletions
|
|
@ -128,7 +128,7 @@ PopupWindow {
|
||||||
color: (modelData?.enabled
|
color: (modelData?.enabled
|
||||||
?? true) ? (mouseArea.containsMouse ? Colors.onAccent : Colors.textPrimary) : Colors.textDisabled
|
?? true) ? (mouseArea.containsMouse ? Colors.onAccent : Colors.textPrimary) : Colors.textDisabled
|
||||||
text: modelData?.text ?? ""
|
text: modelData?.text ?? ""
|
||||||
font.pointSize: Colors.fontSizeSmall * scaling
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
@ -145,7 +145,7 @@ PopupWindow {
|
||||||
Text {
|
Text {
|
||||||
text: modelData?.hasChildren ? "menu" : ""
|
text: modelData?.hasChildren ? "menu" : ""
|
||||||
font.family: "Material Symbols Outlined"
|
font.family: "Material Symbols Outlined"
|
||||||
font.pointSize: Colors.fontSizeSmall * scaling
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
visible: modelData?.hasChildren ?? false
|
visible: modelData?.hasChildren ?? false
|
||||||
color: Colors.textPrimary
|
color: Colors.textPrimary
|
||||||
|
|
@ -363,7 +363,7 @@ PopupWindow {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Colors.textDisabled
|
color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Colors.textDisabled
|
||||||
text: modelData?.text ?? ""
|
text: modelData?.text ?? ""
|
||||||
font.pointSize: Colors.fontSizeSmall * scaling
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
@ -380,7 +380,7 @@ PopupWindow {
|
||||||
NText {
|
NText {
|
||||||
text: modelData?.hasChildren ? "\uE5CC" : ""
|
text: modelData?.hasChildren ? "\uE5CC" : ""
|
||||||
font.family: "Material Symbols Outlined"
|
font.family: "Material Symbols Outlined"
|
||||||
font.pointSize: Colors.fontSizeSmall * scaling
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
visible: modelData?.hasChildren ?? false
|
visible: modelData?.hasChildren ?? false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ Item {
|
||||||
color: Colors.textPrimary
|
color: Colors.textPrimary
|
||||||
placeholderTextColor: Colors.textSecondary
|
placeholderTextColor: Colors.textSecondary
|
||||||
background: null
|
background: null
|
||||||
font.pointSize: Colors.fontSizeSmall * scaling
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
onEditingFinished: root.onEditingFinished()
|
onEditingFinished: root.onEditingFinished()
|
||||||
// Text changes are observable via the aliased 'text' property (root.text) and its 'textChanged' signal.
|
// 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.
|
// No additional callback is invoked here to avoid conflicts with QML's onTextChanged handler semantics.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue