Commit 21211d1
fix(dock): subtract startPadding from remainingSpacesForTaskManager
The remainingSpace for TextCalculator should exclude the left padding (startPadding) since it represents the gap before app icons, not space available for content.
remainingSpace 应减去 startPadding,实际可用于排列 app 项的空间为剩余空间减去左边距。
Log: remainingSpace 减去 startPadding
PMS: BUG-360867
Influence: 修正 TextCalculator 可用空间计算,排除左边距区域,使图标+文本的排列判断更准确1 parent ea63de6 commit 21211d1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments