Audio/NotificationHistryPanel: adjust tabbar layout

This commit is contained in:
Ly-sec
2026-01-08 20:44:22 +01:00
parent 300cc38cff
commit 30fb9229b2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -319,6 +319,7 @@ SmartPanel {
NTabBar {
id: tabBar
Layout.fillWidth: true
margins: Style.marginS
currentIndex: panelContent.currentTabIndex
distributeEvenly: true
onCurrentIndexChanged: panelContent.currentTabIndex = currentIndex
@@ -215,6 +215,7 @@ SmartPanel {
NTabBar {
id: tabsBox
Layout.fillWidth: true
margins: Style.marginS
visible: NotificationService.historyList.count > 0 && panelContent.groupByDate
currentIndex: panelContent.currentRange
tabHeight: Style.baseWidgetSize * 0.7