diff options
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 5 | ||||
-rw-r--r-- | framework/qml/AccountSwitcher.qml | 3 |
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 | |||
27 | import org.kube.framework 1.0 as Kube | 27 | import org.kube.framework 1.0 as Kube |
28 | 28 | ||
29 | 29 | ||
30 | Controls.ToolButton { | 30 | Kube.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 { |