MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Glitch with controls inside cards
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
### Bug explanation
It appears that there is a visual glitch whenever a certain controls are clicked on dark theme (when they're inside a card).
An example:
```
```
**Results (when inside a card):**

**Results (when I put the exact same code outside of the card):**

Same thing with a DataGridView when it's inside the card (it's not that apparent, but you can see the glitch on the left side of the sort arrow:

This also happens with the Light theme switched ON.
What could be the problem here? I'm suspecting its the window hosting this UserControl, but I'm not sure where to start looking.
If I host these buttons on a dialog, or something, they work just fine.
### Version
4.5.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用 issue 中描述的深色和浅色主题,在卡片内外复现所报告的 Button 和 DataGridView 行为。比较 4.5.0 版本中的视觉结果;当卡片内的控件在两种主题下都能正常渲染且不出现所报告的故障时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- design, desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100