aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardHeader.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-07-05 22:03:12 +0200
committerrating89us <rating89us@rating89us.com>2021-07-06 10:41:03 +0200
commit0ce3e4b1e7416f6eaf126a44525b1b2581f66528 (patch)
treecbb8a513d32be035f11573867474ddfd58c6894d /wizard/WizardHeader.qml
parentb58bff39a04df3eefa016e283af6be73f58a9e18 (diff)
downloadmonzero-gui-0ce3e4b1e7416f6eaf126a44525b1b2581f66528.tar.gz
monzero-gui-0ce3e4b1e7416f6eaf126a44525b1b2581f66528.tar.xz
monzero-gui-0ce3e4b1e7416f6eaf126a44525b1b2581f66528.zip
WizardOpenWallet1: navigate with keyboard; enable accessibility
Diffstat (limited to 'wizard/WizardHeader.qml')
-rw-r--r--wizard/WizardHeader.qml14
1 files changed, 11 insertions, 3 deletions
diff --git a/wizard/WizardHeader.qml b/wizard/WizardHeader.qml
index 1e10683d..9815bffa 100644
--- a/wizard/WizardHeader.qml
+++ b/wizard/WizardHeader.qml
@@ -43,7 +43,6 @@ ColumnLayout {
Text {
text: title
- Layout.fillWidth: true
font.family: MoneroComponents.Style.fontRegular.name
color: MoneroComponents.Style.defaultFontColor
opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8
@@ -59,11 +58,15 @@ ColumnLayout {
leftPadding: 0
topPadding: 0
bottomPadding: 0
+
+ Rectangle {
+ anchors.fill: parent
+ color: parent.parent.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ }
}
Text {
- Layout.fillWidth: true
- Layout.alignment: Qt.AlignCenter
+ Layout.alignment: Qt.AlignLeft
visible: parent.subtitle !== ""
color: MoneroComponents.Style.dimmedFontColor
@@ -81,5 +84,10 @@ ColumnLayout {
wrapMode: Text.WordWrap
leftPadding: 0
topPadding: 0
+
+ Rectangle {
+ anchors.fill: parent
+ color: parent.parent.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ }
}
}