nicer icon fill

This commit is contained in:
end-4 2025-05-05 11:47:22 +02:00
parent aa7df0a74c
commit cba6471099
3 changed files with 5 additions and 4 deletions

View file

@ -7,6 +7,7 @@ Text {
property real iconSize: Appearance.font.pixelSize.small
property real fill: 0
renderType: Text.NativeRendering
font.hintingPreference: Font.PreferFullHinting
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.iconMaterial
font.pixelSize: iconSize

View file

@ -418,9 +418,9 @@ Item {
anchors.centerIn: parent
horizontalAlignment: Text.AlignHCenter
iconSize: Appearance.font.pixelSize.larger
fill: sendButton.enabled ? 1 : 0
// fill: sendButton.enabled ? 1 : 0
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
text: "arrow_upward"
text: "send"
}
}
}

View file

@ -538,11 +538,11 @@ Item {
contentItem: MaterialSymbol {
anchors.centerIn: parent
text: "arrow_upward"
horizontalAlignment: Text.AlignHCenter
iconSize: Appearance.font.pixelSize.larger
fill: sendButton.enabled ? 1 : 0
// fill: sendButton.enabled ? 1 : 0
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
text: "send"
}
}
}