Commit eaf6a79
committed
feat: add theme-aware progress bar background color
1. Added background color property to progressBar style in FlowStyle.qml
2. Modified ProgressBarPanel.qml to use theme-aware background color
3. Implemented separate colors for normal and dark themes (rgba values)
4. Uses ColorSelector for dynamic theme switching support
The changes ensure progress bar background colors properly adapt to both
light and dark themes, improving visual consistency across different
theme settings. The implementation provides better theming support by
using the DTK color system.
feat: 添加主题感知的进度条背景色
1. 在FlowStyle.qml中为progressBar样式添加背景色属性
2. 修改ProgressBarPanel.qml以使用主题感知的背景色
3. 为普通和暗色主题实现不同的颜色值(rgba)
4. 使用ColorSelector支持动态主题切换
这些更改确保进度条背景色能正确适配亮色和暗色主题,提升不同主题设置下的视
觉一致性。该实现通过使用DTK颜色系统提供了更好的主题支持。
pms: BUG-3204791 parent 33b41e4 commit eaf6a79
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
| 507 | + | |
507 | 508 | | |
508 | 509 | | |
509 | 510 | | |
| |||
850 | 851 | | |
851 | 852 | | |
852 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
853 | 859 | | |
854 | 860 | | |
855 | 861 | | |
| |||
861 | 867 | | |
862 | 868 | | |
863 | 869 | | |
864 | | - | |
| 870 | + | |
865 | 871 | | |
866 | 872 | | |
867 | 873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
0 commit comments