summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-04-29 10:48:33 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-04-29 10:48:33 +0200
commit449c1b2876ec71d821831978812e13dda198c6e8 (patch)
tree891b6d4dee068b229ec239dcd06fd7b4b2c9a855
parent313b6253e84b3be63c51a1ffbb3db19b0a06ed5c (diff)
downloadkube-449c1b2876ec71d821831978812e13dda198c6e8.tar.gz
kube-449c1b2876ec71d821831978812e13dda198c6e8.zip
use iconbutton in accountswitcher
-rw-r--r--components/kube/contents/ui/Kube.qml5
-rw-r--r--framework/qml/AccountSwitcher.qml3
2 files changed, 2 insertions, 6 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index 8b1fbc58..e3cf3393 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -154,10 +154,7 @@ Controls2.ApplicationWindow {
154 width: height 154 width: height
155 } 155 }
156 156
157 Kube.AccountSwitcher { 157 Kube.AccountSwitcher {}
158 height: Kube.Units.gridUnit * 1.5
159 width: height
160 }
161 } 158 }
162 } 159 }
163 160
diff --git a/framework/qml/AccountSwitcher.qml b/framework/qml/AccountSwitcher.qml
index a8151712..b44dd3d7 100644
--- a/framework/qml/AccountSwitcher.qml
+++ b/framework/qml/AccountSwitcher.qml
@@ -27,13 +27,12 @@ import org.kde.kirigami 1.0 as Kirigami
27import org.kube.framework 1.0 as Kube 27import org.kube.framework 1.0 as Kube
28 28
29 29
30Controls.ToolButton { 30Kube.IconButton {
31 id: accountSwitcher 31 id: accountSwitcher
32 32
33 property variant accountId 33 property variant accountId
34 property variant accountName 34 property variant accountName
35 35
36 width: parent.width
37 iconName: Kube.Icons.menu_inverted 36 iconName: Kube.Icons.menu_inverted
38 37
39 Kube.AccountsModel { 38 Kube.AccountsModel {