From 312fb7860b912d4ae648865b1f2f8d27ebed12cc Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 10 Dec 2021 18:23:57 +0100 Subject: [bug] minor, recurrent gotchas -QApplication, no QGuiApplication: the later avoids the systray to display - Workaround for invisible app icons when vendoring - Make border visible for snaps --- gui/components/MaterialButton.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/components/MaterialButton.qml') diff --git a/gui/components/MaterialButton.qml b/gui/components/MaterialButton.qml index ad1ca59..4b6d78b 100644 --- a/gui/components/MaterialButton.qml +++ b/gui/components/MaterialButton.qml @@ -49,7 +49,7 @@ T.Button { radius: 4 border.color: "black" - border.width: 2 + border.width: 1 color: !control.enabled ? control.Material.buttonDisabledColor : control.highlighted ? control.Material.highlightedButtonColor : Theme.buttonColor PaddedRectangle { @@ -69,7 +69,7 @@ T.Button { // to set Material.elevation as well layer.enabled: true // control.enabled && control.Material.buttonColor.a > 0 - /* + /* this is trouble in the canned Qt version for snaps, so let's pass for now layer.effect: ElevationEffect { elevation: control.Material.elevation } -- cgit v1.2.3