Validation error is annoying

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
design, desktop

調査の方向性

この issue ではファイルもテストも指定されていません。まず、toolkit の WPF コントロールで使用されている validation error container を探してください。現在の padding、layout、visibility、text-wrapping の動作を、要求されたスクリーンショットと比較します。validation messages が独自のスペースを占有し、意図しない左側の padding なしで整列し、長いテキストを合意された expandable または constrained display として扱える状態が完了の条件です。

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

説明

bug evaluation required
Bug explanation

image

Firstly I would like the validation error to be placed to the left like in this picture(i edited in paint)without the padding on the left.
image

Secondly, I would like the error message to be capped at max the line width of the input.(one line) as seen in the picture below.
image

if the error message is to big, then make the error message line a dropdown that opens on click or hover to show the whole message(or contained in a scrollview??)....

In any case, the issue(bug) which is very annoying, is the fact that the error message container currently has padding on the left, comes on top of other content(as seen in the first picture) instead of taking up its own space, and thus pushing the content below down.

Can this be changed in an error message container that is permanent there, but toggles visibility to collapsed if there is
no error to be shown? preferably an error message container that expands(if error message is to long)
kind of like the expanders
image

Version

4.8.1

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

環境構築

はじめの一歩

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

MaterialDesignInXAML/MaterialDesignInXamlToolkit のほかの issue

MaterialDesignInXAML/MaterialDesignInXamlToolkit の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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