Commit eabf779
committed
fix(notification): use implicitHeight for banner height, remove wrong dockSize fallback
1. Bubble.qml: add 'height: implicitHeight' so the banner height
properly updates when content changes (e.g. when a replacement
notification has body/actions while the original had none).
2. main.qml: remove dockSize fallback for frontendWindowRect.
dockSize (52) != actual dock height (65 from FrontendWindowRect),
giving a wrong margin. Return 0 when rect is not ready; the
Connections block will refresh once it becomes available.1 parent 3b69176 commit eabf779
2 files changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 34 | | |
| 35 | + | |
| 36 | + | |
40 | 37 | | |
41 | | - | |
| 38 | + | |
42 | 39 | | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
0 commit comments