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

CircularProgressBar无法设置大小 #128

Open
aixiao2u1mei opened this issue Dec 15, 2024 · 2 comments
Open

CircularProgressBar无法设置大小 #128

aixiao2u1mei opened this issue Dec 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@aixiao2u1mei
Copy link

我在使用CircularProgressBar时设置控件宽高为160时还是一样大
使用版本Nuget:0.0.0.1

<wd:CircularProgressBar
    Width="100"
    Height="100"
    Value="50" />
<wd:CircularProgressBar
    Width="160"
    Height="160"
    Background="#1FA7FC"
    BorderBrush="#D6D6D6"
    BrushStrokeThickness="10"
    Foreground="Black"
    Value="50" />

image

@yanjinhuagood yanjinhuagood self-assigned this Dec 16, 2024
@yanjinhuagood yanjinhuagood added bug Something isn't working enhancement New feature or request labels Dec 16, 2024
@yanjinhuagood
Copy link
Member

yanjinhuagood commented Dec 17, 2024

  • 感谢反馈,目前不支持修改大小。但是可以套一个Viewbox解决这个问题。
  • 下一个版本修复。

yanjinhuagood added a commit that referenced this issue Dec 17, 2024
Fix issue (#128
yanjinhuagood added a commit that referenced this issue Dec 17, 2024
Fix issue (#128
@yanjinhuagood
Copy link
Member

示例代码:

 <wd:CircleProgressBar
                Width="50"
                Height="50"
                Background="#1FA7FC"
                BorderBrush="#D6D6D6"
                BrushStrokeThickness="10"
                Foreground="Black"
                IsRound="True"
                StrokeThickness="10"
                Value="40" />
            <wd:CircleProgressBar
                Width="100"
                Height="100"
                BrushStrokeThickness="10"
                IsRound="True"
                Value="60" />

image

yanjinhuagood added a commit that referenced this issue Dec 19, 2024
Fix issue (#128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants