Commit 9b29be7
committed
style: improve TitleBar layout implementation
1. Changed `implicitHeight` to `height` for more explicit sizing control
2. Modified background and content layouts to use explicit width/height
instead of anchors.fill
3. These changes provide better layout consistency and prevent potential
anchoring issues
4. The visibility logic remains the same but is now more clearly
implemented
style: 改进 TitleBar 布局实现
1. 将 `implicitHeight` 改为 `height` 以获得更明确的尺寸控制
2. 修改背景和内容布局使用显式宽高而非 anchors.fill
3. 这些改动提供了更好的布局一致性并防止潜在的锚定问题
4. 可见性逻辑保持不变但实现更清晰1 parent 5b377a9 commit 9b29be7
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
| 76 | + | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | 83 | | |
86 | | - | |
| 84 | + | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments