forked from Shinonome/dots-hyprland
nicer icon fill
This commit is contained in:
@@ -7,6 +7,7 @@ Text {
|
|||||||
property real iconSize: Appearance.font.pixelSize.small
|
property real iconSize: Appearance.font.pixelSize.small
|
||||||
property real fill: 0
|
property real fill: 0
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
font.hintingPreference: Font.PreferFullHinting
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.family: Appearance.font.family.iconMaterial
|
font.family: Appearance.font.family.iconMaterial
|
||||||
font.pixelSize: iconSize
|
font.pixelSize: iconSize
|
||||||
|
|||||||
@@ -418,9 +418,9 @@ Item {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
iconSize: Appearance.font.pixelSize.larger
|
iconSize: Appearance.font.pixelSize.larger
|
||||||
fill: sendButton.enabled ? 1 : 0
|
// fill: sendButton.enabled ? 1 : 0
|
||||||
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
|
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
|
||||||
text: "arrow_upward"
|
text: "send"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -538,11 +538,11 @@ Item {
|
|||||||
|
|
||||||
contentItem: MaterialSymbol {
|
contentItem: MaterialSymbol {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: "arrow_upward"
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
iconSize: Appearance.font.pixelSize.larger
|
iconSize: Appearance.font.pixelSize.larger
|
||||||
fill: sendButton.enabled ? 1 : 0
|
// fill: sendButton.enabled ? 1 : 0
|
||||||
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
|
color: sendButton.enabled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer2Disabled
|
||||||
|
text: "send"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user