qml: ImButton: Make MD3 look more like MD2

This commit is contained in:
Tom Dewey 2024-07-17 11:41:33 +01:00 committed by Tom Dewey
parent 844c44597e
commit 8c05f04593

View file

@ -10,8 +10,10 @@ import QtQuick.Controls.Material 2.2
Button { Button {
font.family: roboto.name font.family: roboto.name
font.capitalization: Font.AllUppercase
Material.background: activeFocus ? "#d1dcfb" : "#ffffff" Material.background: activeFocus ? "#d1dcfb" : "#ffffff"
Material.foreground: "#cd2355" Material.foreground: "#cd2355"
Material.roundedScale: Material.ExtraSmallScale
Accessible.onPressAction: clicked() Accessible.onPressAction: clicked()
Keys.onEnterPressed: clicked() Keys.onEnterPressed: clicked()
Keys.onReturnPressed: clicked() Keys.onReturnPressed: clicked()