RibbonMessageBarGroup: Fix the top radius when tabbar is folded in modern style.

This commit is contained in:
Mentalflow 2024-12-23 11:17:43 +08:00
parent a71bb911c8
commit 5c1ce7c32c
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@ RibbonBlur {
} }
color: folded ? RibbonTheme.isDarkMode ? "black" : "white" : "transparent" color: folded ? RibbonTheme.isDarkMode ? "black" : "white" : "transparent"
height: control.implicitHeight - (folded ? handler.height : 0) height: control.implicitHeight - (folded ? handler.height : 0)
topLeftRadius: RibbonTheme.modernStyle && RibbonWindow.window.tabBar.folded ? 10 : 0
topRightRadius: topLeftRadius
bottomLeftRadius: RibbonTheme.modernStyle && folded ? 10 : 0 bottomLeftRadius: RibbonTheme.modernStyle && folded ? 10 : 0
bottomRightRadius: bottomLeftRadius bottomRightRadius: bottomLeftRadius
ListView{ ListView{

View File

@ -57,6 +57,8 @@ RibbonBlur {
} }
color: folded ? RibbonTheme.isDarkMode ? "black" : "white" : "transparent" color: folded ? RibbonTheme.isDarkMode ? "black" : "white" : "transparent"
height: control.implicitHeight - (folded ? handler.height : 0) height: control.implicitHeight - (folded ? handler.height : 0)
topLeftRadius: RibbonTheme.modernStyle && RibbonWindow.window.tabBar.folded ? 10 : 0
topRightRadius: topLeftRadius
bottomLeftRadius: RibbonTheme.modernStyle && folded ? 10 : 0 bottomLeftRadius: RibbonTheme.modernStyle && folded ? 10 : 0
bottomRightRadius: bottomLeftRadius bottomRightRadius: bottomLeftRadius
ListView{ ListView{