UI.WPF.Modern
UI.WPF.Modern copied to clipboard
[Bug] SettingsCard和SettingsExpander的HeaderIcon大小好像是固定的 | The HeaderIcon size of SettingsCard and SettingsExpander seems to be fixed
Describe the bug
如题 我无法通过改变Image、ImageIcon的Width、Height来改变图标的大小 As the title suggests I cannot change the size of an Image or ImageIcon by altering its width or height 在HeaderIcon中放置Label同样无法调整大小 Put a Label into HeaderIcon will be the same
Reproduction
https://github.com/LinearTeam/LineLauncherCs/commit/f1b2464897735b89c751f825983ecb27893bc106 查看关于页面 | Check AboutPage
Suggested Solution
No response
Library Version
0.10.0
Operating System
Windows 11
Framework
.NET Framework
Framework Version
4.7.2
Source of Package
NuGet.org (Package)
Additional Notes
No response
Validations
- [x] Check that there isn't already an issue that reports the same or similar problem.
- [x] Check that this is a bug in the library that should be fixed, not a feature, also this is not about the documentation. (Or please choose the right repo and template.)
- [x] This is one single problem, or a few problems with the same cause. (If you want to report multiple problems, please create one issue for every single problem.)
- [x] You've checked that this problem still exists in the latest version. (Keep in mind that we don't provide any support for old versions.)
- [x] You know that we can't guarantee that we will satisfy your request. This is not really our duty to do everything anyone asks for. Also, you will treat our staff, contributors, and other users with respect and kindness.
- [x] You're sure there's something wrong with the library itself, not how you're using it. (If you are having issues using it and need help, please go to discussion.)
emmm,这个好像本来就是这么设计的。你可以去看看 communitytoolkit。不过倒是可以考虑允许用户自定义,我回头看下。
因为这儿有个 Viewbox 在阻挡你前进的脚步
那我先用ResourceDictionary替一下吧(