mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Audio/NotificationHistryPanel: adjust tabbar layout
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user