Commit 869b21f
fix(dock): align delegate implicitHeight with icon ratio for consistent spacing
Change the delegate implicitHeight in vertical layout from visualModel.cellWidth
(dockItemMaxSize * 0.8) to dockItemMaxSize * 9 / 14 (icon size), so the app
item uses the same size coefficient in both orientations. This ensures that the
gap between adjacent apps is visually equal to the gap from the last plugin to
the first app on both horizontal and vertical docks.
纵向布局时,将 delegate 隐式高度从 dockItemMaxSize * 0.8 改为
dockItemMaxSize * 9 / 14(图标尺寸),使横竖排应用项尺寸系数统一,
确保应用间距与插件到首个应用的间距在双侧布局中保持一致。
Log: 修复纵向任务栏应用间距与插件间距不一致的问题
PMS: BUG-3645231 parent 832e381 commit 869b21f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments