Skip to content

Commit 7900812

Browse files
18202781743deepin-bot[bot]
authored andcommitted
fix: incorrect window shadow height for osd
Adjust shadowOffset by UI designer to avoid shadow height is not enough. pms: BUG-310841
1 parent 1938ef3 commit 7900812

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

panels/notification/osd/package/main.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Window {
1515
D.DWindow.windowRadius: isSingleView ? 30 : D.DTK.platformTheme.windowRadius
1616
D.DWindow.enableBlurWindow: true
1717
D.DWindow.enabled: true
18+
D.DWindow.shadowOffset: Qt.point(0, 8)
19+
D.DWindow.shadowColor: D.DTK.themeType === D.ApplicationHelper.DarkType ? Qt.rgba(0, 0, 0, 0.2) : Qt.rgba(0, 0, 0, 0.1)
1820
color: "transparent"
1921
DLayerShellWindow.bottomMargin: 180
2022
DLayerShellWindow.layer: DLayerShellWindow.LayerOverlay

0 commit comments

Comments
 (0)