diff --git a/components/StyledTabBar.qml b/components/StyledTabBar.qml index 70a92c1..3c0b933 100644 --- a/components/StyledTabBar.qml +++ b/components/StyledTabBar.qml @@ -1,8 +1,20 @@ +import qs.config import QtQuick import QtQuick.Controls.Basic TabBar { id: control - background: Item {} + property alias orientation: view.orientation + + contentItem: ListView { + id: view + model: control.contentModel + currentIndex: control.currentIndex + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + } + background: Rectangle { + color: Styling.theme.base200 + } }