MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
oversize canvas cause radiabutton path render as oval
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 16.3k
- Forks
- 3.5k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
In MaterialDesignTheme.RaidoButton.xaml file, the canvas is large than viewbox, it will cause multi radio button look like oval, not circle.
> three radio in uniform grid with 3 columns

```
```
I wonder if there a easy way to fix it, such as just changing some property like uselayoutround.
However, it's not working.
Another way is change all canvas size to fix size 18*18, but it will not work properly in large radio button.
So, I think that replacing canvas to grid with 2 ellipse maybe a solution(just do as MahApps.Metro).
ref:
```
```
Regards.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in MaterialDesignTheme.RaidoButton.xaml and inspect the Viewbox and Canvas sizing around the Graphic and InteractionEllipse paths. Reproduce the three-radio-button UniformGrid example, then compare the rendering at different radio-button sizes. Done means the radio paths remain circular rather than oval in the reported layout and larger controls.
Written by the indexing model from the issue text.
Assessment
- Domain
- design, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100