MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Initial foreground of Icon in TabItem Header
未关闭
还没有人认领这个 Issue。
bug
evaluation required
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
Bug explanation
When using a PackIcon inside of the header of a TabItem, the PackIcons foreground is initially not set correctly.
Once you switch the tabs the foreground fixes itself (notice how the color of the Icon in the first tab changes from white to green):
Here is a repo that showcases this bug.
Version
5.1.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用链接的 TabItemForeground repository,在 5.1.0 版本中将 PackIcon 放在 TabItem header 内,重现该问题。跟踪切换 tab 前后 TabItem 和 PackIcon 的 foreground 行为;完成标准是:无需切换 tab,第一个 tab 的 icon 就能立即具有正确的 foreground。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- design, desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100