summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-12-13 13:39:09 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-12-13 13:39:09 +0100
commit7f78f63faf2a3b40441d945ead1d5f6d022e748c (patch)
treeecb3e1056530030009d4ebba58b89f90f0be2758
parentea9e60456710bc1a167ac33638f3ca0c8f100ff7 (diff)
downloadkube-7f78f63faf2a3b40441d945ead1d5f6d022e748c.tar.gz
kube-7f78f63faf2a3b40441d945ead1d5f6d022e748c.zip
imporve account switcher layout a bit
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index a9c6ef1c..78ec38cb 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -121,6 +121,8 @@ Controls2.Button {
121 delegate: Kirigami.AbstractListItem { 121 delegate: Kirigami.AbstractListItem {
122 id: accountDelegate 122 id: accountDelegate
123 123
124 height: Kirigami.Units.gridUnit * 2
125
124 enabled: true 126 enabled: true
125 supportsMouseEvents: true 127 supportsMouseEvents: true
126 128
@@ -130,6 +132,7 @@ Controls2.Button {
130 132
131 RowLayout { 133 RowLayout {
132 anchors { 134 anchors {
135 verticalCenter: parent.verticalCenter
133 left: parent.left 136 left: parent.left
134 margins: Kirigami.Units.smallSpacing 137 margins: Kirigami.Units.smallSpacing
135 } 138 }
@@ -158,7 +161,8 @@ Controls2.Button {
158 161
159 anchors { 162 anchors {
160 right: parent.right 163 right: parent.right
161 margins: Kirigami.Units.largeSpacing 164 rightMargin: Kirigami.Units.largeSpacing
165 verticalCenter: parent.verticalCenter
162 } 166 }
163 167
164 opacity: hovered ? 1 : 0.7 168 opacity: hovered ? 1 : 0.7