diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-17 19:49:15 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:05 +0100 |
commit | 9413b50cba3d8b4c9a8b6474729483b775aa5619 (patch) | |
tree | 6dfff47d63647f965727eb8a72198286b220df9c /gui/components/MaterialButton.qml | |
parent | 7cdbe15b46a2c2ac94b10f27092b190147f2124f (diff) |
[ui] nospy and sizes
Diffstat (limited to 'gui/components/MaterialButton.qml')
-rw-r--r-- | gui/components/MaterialButton.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/components/MaterialButton.qml b/gui/components/MaterialButton.qml index 25911f3..7fe04d9 100644 --- a/gui/components/MaterialButton.qml +++ b/gui/components/MaterialButton.qml @@ -5,6 +5,8 @@ import QtQuick.Controls.impl 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material.impl 2.12 +import "../themes/themes.js" as Theme + T.Button { id: control @@ -42,13 +44,13 @@ T.Button { } background: Rectangle { - implicitWidth: 64 + implicitWidth: 68 implicitHeight: control.Material.buttonHeight radius: 4 border.color: "black" border.width: 1 - color: !control.enabled ? control.Material.buttonDisabledColor : control.highlighted ? control.Material.highlightedButtonColor : control.Material.buttonColor + color: !control.enabled ? control.Material.buttonDisabledColor : control.highlighted ? control.Material.highlightedButtonColor : Theme.buttonColor PaddedRectangle { y: parent.height - 4 |