mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-25 04:42:14 +00:00
sidebar: calendar: animated navrail selection
This commit is contained in:
parent
7fba4b72bf
commit
66bd690b66
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue