Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local:MyIconTextButton 的 ColorType 属性无效 #4538

Closed
1 task done
MFn233 opened this issue Aug 18, 2024 · 1 comment
Closed
1 task done

local:MyIconTextButton 的 ColorType 属性无效 #4538

MFn233 opened this issue Aug 18, 2024 · 1 comment
Labels
· Bug 完成 已被处理,将在下次更新之后生效 🟩 低 优先度:低

Comments

@MFn233
Copy link

MFn233 commented Aug 18, 2024

检查项

描述

我知道 #2695 中有 ColorType 没法加的错误,但是现在能加了又不能用了

龙猫的教程页面显示的:
image

而源文件中写的:
image

对照组:
image
image

重现步骤

在Custom.xaml中编写如下内容:

<local:MyIconTextButton Margin="0,5,0,6" Height="35"
    Text="高亮"
    LogoScale="0.8" ColorType="Highlight"
    Logo="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z" />
<local:MyIconTextButton Margin="0,5,0,6" Height="35"
    Text="无高亮"
    LogoScale="0.8"
    Logo="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z" />

正确加载Custom.xaml,出现:

image

(长得一模一样)

日志与附件

@MFn233 MFn233 added · Bug 新反馈 需要社区初步确认其有效的新 Issue labels Aug 18, 2024
@JingHai-Lingyun JingHai-Lingyun added 等待确认 已经过社区确认,等待开发者确认 and removed 新反馈 需要社区初步确认其有效的新 Issue labels Aug 18, 2024
@JingHai-Lingyun
Copy link
Collaborator

嘶…… 看了眼底层是强制使用一种颜色

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 🟩 低 优先度:低 and removed 等待确认 已经过社区确认,等待开发者确认 labels Aug 18, 2024
@LTCatt LTCatt closed this as completed Sep 20, 2024
@HexDragon-Bot HexDragon-Bot added 完成 已被处理,将在下次更新之后生效 and removed 处理中 开发者正在调查或处理该项 labels Sep 20, 2024
@LTCatt LTCatt changed the title local:MyIconTextButton元素ColorType改为Highlight后无变化 local:MyIconTextButton 的 ColorType 属性无效 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 完成 已被处理,将在下次更新之后生效 🟩 低 优先度:低
Projects
None yet
Development

No branches or pull requests

4 participants