summaryrefslogtreecommitdiff
path: root/gui/components
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-12-10 18:23:57 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-12-10 18:24:04 +0100
commit312fb7860b912d4ae648865b1f2f8d27ebed12cc (patch)
tree27b3d1da2ea8f93dfdf18982b6343c8db0413628 /gui/components
parent5a8bee2c0caa2a17dec19a0889c9951d13ca3cc2 (diff)
[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
Diffstat (limited to 'gui/components')
-rw-r--r--gui/components/MaterialButton.qml4
1 files changed, 2 insertions, 2 deletions
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
}