From 8c05f0459382dc939e27b59bdc1cdd57dcf4fbc9 Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Wed, 17 Jul 2024 11:41:33 +0100 Subject: [PATCH] qml: ImButton: Make MD3 look more like MD2 --- src/qmlcomponents/ImButton.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qmlcomponents/ImButton.qml b/src/qmlcomponents/ImButton.qml index fd88a6e..431c0a1 100644 --- a/src/qmlcomponents/ImButton.qml +++ b/src/qmlcomponents/ImButton.qml @@ -10,8 +10,10 @@ import QtQuick.Controls.Material 2.2 Button { font.family: roboto.name + font.capitalization: Font.AllUppercase Material.background: activeFocus ? "#d1dcfb" : "#ffffff" Material.foreground: "#cd2355" + Material.roundedScale: Material.ExtraSmallScale Accessible.onPressAction: clicked() Keys.onEnterPressed: clicked() Keys.onReturnPressed: clicked()