From f3b752f20591b3158c8ea6614b00cae1976660bd Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 22 Aug 2018 10:33:53 +0200 Subject: do not use anchors inside a Layout --- framework/qml/InlineAccountSwitcher.qml | 5 +---- 1 file changed, 1 insertion(+), 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 { property variant currentData: model property bool isCurrent: (model.accountId == root.currentAccount) - anchors { - left: layout.left - right: layout.right - } height: Kube.Units.gridUnit Layout.fillHeight: isCurrent + Layout.fillWidth: true Kube.TextButton { id: accountButton -- cgit v1.2.3