MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Dialog does not size to content

オープン
#1,378 コメント 22 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

説明

This is an issue I have not been able to repeatably reproduce and I mostly see it in production. I'm not sure how to troubleshoot it so any pointers would be appreciated.

I use a single dialog host in the "shell" view:

<UserControl>
    <Grid>
      <mdt:DialogHost Name="ShellDialogHost" Identifier="ShellDialog" UseLayoutRounding="True" >
    </Grid>
</UserControl>

Dialogs are opened by calling DialogHost.Show.

Most of the time the dialogs are opened with the correct size but sometimes they open like this:

file-259

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

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

はじめの一歩

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

調査の方向性

まず shell ビューの DialogHost 構成と DialogHost.Show の呼び出しを確認し、次に、提供された再現手順の詳細とスクリーンショットを使って断続的なサイズ設定の挙動を調査します。再現可能な原因を特定し、ダイアログが常にその内容に合わせてサイズ調整されることを保証できれば完了です。

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

評価

技術スタック
csharp
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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