RibbonBackStageView: Radius bug fixed.

This commit is contained in:
Mentalflow 2024-05-21 19:44:04 +08:00
parent 00014f19be
commit a681a88bb8
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ Popup {
width: 150 width: 150
x: -width x: -width
color: Qt.alpha(RibbonTheme.isDarkMode ? "#363636" : RibbonTheme.modernStyle ? "white" : "#365695", blurEnabled ? RibbonTheme.modernStyle ? 0.8 : 0.9 : 1) color: Qt.alpha(RibbonTheme.isDarkMode ? "#363636" : RibbonTheme.modernStyle ? "white" : "#365695", blurEnabled ? RibbonTheme.modernStyle ? 0.8 : 0.9 : 1)
topLeftRadius: control.topMargin === 0 ? control.radius : 0 topLeftRadius: control.topMargin <= 0 ? control.radius : 0
bottomLeftRadius: topLeftRadius bottomLeftRadius: topLeftRadius
property int currentMenu: 0 property int currentMenu: 0
@ -392,7 +392,7 @@ Popup {
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
topRightRadius: control.topMargin === 0 ? control.radius : 0 topRightRadius: control.topMargin <= 0 ? control.radius : 0
bottomRightRadius: topRightRadius bottomRightRadius: topRightRadius
color: Qt.alpha(RibbonTheme.isDarkMode ? RibbonTheme.modernStyle ? "#0A0A0A" : "#262626" : RibbonTheme.modernStyle ? "#F0F0F0" : "white", 0) color: Qt.alpha(RibbonTheme.isDarkMode ? RibbonTheme.modernStyle ? "#0A0A0A" : "#262626" : RibbonTheme.modernStyle ? "#F0F0F0" : "white", 0)