MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

oversize canvas cause radiabutton path render as oval

オープン
#904 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug up-for-grabs
主要言語
C#
スター
16.3k
フォーク
3.5k
平均マージ
1日 22時間
マージ済み PR(30日)
8

説明

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
![three radio in uniform grid with 3 columns](https://user-images.githubusercontent.com/6803102/36715570-b35a45ee-1bd1-11e8-9e8b-4d650b45d854.png)

```















```

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

MaterialDesignTheme.RaidoButton.xaml から始め、Graphic と InteractionEllipse のパス周辺における Viewbox と Canvas のサイズ設定を確認します。3 つのラジオボタンを持つ UniformGrid の例を再現し、ラジオボタンのサイズを変えた場合のレンダリングを比較します。報告されているレイアウトと、より大きなコントロールで、ラジオパスが楕円形ではなく円形のままになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
design, desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。