diff --git a/org.kde.desktop/TabBar.qml b/org.kde.desktop/TabBar.qml --- a/org.kde.desktop/TabBar.qml +++ b/org.kde.desktop/TabBar.qml @@ -40,7 +40,8 @@ contentItem: ListView { implicitWidth: contentWidth - implicitHeight: controlRoot.contentModel.get(0).height + // The binding to contentModel.count is so it updates when the TabBar is populated on demand + implicitHeight: controlRoot.contentModel.get(controlRoot.contentModel.count * 0).height model: controlRoot.contentModel currentIndex: controlRoot.currentIndex