Commit 6ecc232
committed
chore: update DTK dependency and fix icon display
Updated libdtk6declarative-dev dependency version from >= 6.0.19 to >>
6.7.33 to ensure compatibility with newer DTK features and bug fixes.
Added fillMode: Image.PreserveAspectFit to IconImage component in
IconItemDelegate.qml to prevent icon distortion and ensure proper aspect
ratio preservation when scaling icons.
chore: 更新 DTK 依赖并修复图标显示
将 libdtk6declarative-dev 依赖版本从 >= 6.0.19 更新为 >> 6.7.33,以确保
兼容新的 DTK 功能和错误修复。在 IconItemDelegate.qml 的 IconImage 组件中
添加 fillMode: Image.PreserveAspectFit,防止图标变形并确保缩放时保持正确
的宽高比。
PMS: BUG-3013291 parent 83f744d commit 6ecc232
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
0 commit comments