sidebar: calendar: animated navrail selection

This commit is contained in:
end-4 2025-06-19 00:37:53 +02:00
parent 7fba4b72bf
commit 66bd690b66

View file

@ -130,15 +130,17 @@ Rectangle {
Layout.topMargin: 10
width: tabBar.width
// Navigation rail buttons
ColumnLayout {
NavigationRailTabArray {
id: tabBar
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 5
id: tabBar
spacing: 8
currentIndex: root.selectedTab
expanded: false
Repeater {
model: root.tabs
NavigationRailButton {
showToggledHighlight: false
toggled: root.selectedTab == index
buttonText: modelData.name
buttonIcon: modelData.icon