Commit 4feb8ba
committed
fix: adjust notification center window positioning
Fixed notification center window positioning by adding top margin to
match the left/right margins. Previously the window was flush with
the top edge while having side margins, creating inconsistent spacing.
Now the top margin uses the same contentPadding value as the sides for
consistent visual alignment.
Influence:
1. Verify notification center appears with equal spacing on all sides
2. Test that window positioning remains correct when contentPadding
changes
3. Check that notifications display properly within the adjusted bounds
fix: 调整通知中心窗口位置
修复通知中心窗口位置问题,通过添加顶部边距使其与左右边距保持一致。之前窗
口顶部边缘没有边距而两侧有边距,导致间距不一致。现在顶部边距使用与两侧相
同的contentPadding值,实现一致的视觉对齐。
Influence:
1. 验证通知中心在所有边距上显示相等的间距
2. 测试当contentPadding变化时窗口位置保持正确
3. 检查通知在调整后的边界内正确显示
PMS: BUG-3352251 parent 2cce786 commit 4feb8ba
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments