summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2018-08-22 10:33:53 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2018-08-22 10:33:53 +0200
commitf3b752f20591b3158c8ea6614b00cae1976660bd (patch)
treef2140d40c8930d5720fa7c64849a07c46cd484be
parentfec7e92775eb3dacc8c36d38b63140abbea628c2 (diff)
downloadkube-f3b752f20591b3158c8ea6614b00cae1976660bd.tar.gz
kube-f3b752f20591b3158c8ea6614b00cae1976660bd.zip
do not use anchors inside a Layout
-rw-r--r--framework/qml/InlineAccountSwitcher.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml
index e54049be..a7578754 100644
--- a/framework/qml/InlineAccountSwitcher.qml
+++ b/framework/qml/InlineAccountSwitcher.qml
@@ -47,12 +47,9 @@ FocusScope {
47 property variant currentData: model 47 property variant currentData: model
48 property bool isCurrent: (model.accountId == root.currentAccount) 48 property bool isCurrent: (model.accountId == root.currentAccount)
49 49
50 anchors {
51 left: layout.left
52 right: layout.right
53 }
54 height: Kube.Units.gridUnit 50 height: Kube.Units.gridUnit
55 Layout.fillHeight: isCurrent 51 Layout.fillHeight: isCurrent
52 Layout.fillWidth: true
56 53
57 Kube.TextButton { 54 Kube.TextButton {
58 id: accountButton 55 id: accountButton