formatting tabs

This commit is contained in:
Benjamin Palko 2025-09-17 11:57:21 -04:00
parent 338e81d3ad
commit 5e82fd906d
3 changed files with 69 additions and 75 deletions

View file

@ -5,20 +5,14 @@ TabBar {
id: control
property alias orientation: view.orientation
spacing: 12
contentItem: Item {
ListView {
id: view
anchors.centerIn: parent
implicitWidth: parent.width - 20
implicitHeight: parent.height - 20
model: control.contentModel
currentIndex: control.currentIndex
spacing: control.spacing
orientation: ListView.Horizontal
boundsBehavior: Flickable.StopAtBounds
}
contentItem: ListView {
id: view
model: control.contentModel
currentIndex: control.currentIndex
spacing: control.spacing
orientation: ListView.Horizontal
boundsBehavior: Flickable.StopAtBounds
}
background: Item {}