Forces the height of the TextField to 1 which is just the valid height instead of driver rows value. (#400)

* Forces the height of the TextField to 1 which is just the valid height instead of driver rows value.

* Fixes an issue in the sln file that despite not having been changed, git reports as changed.
This commit is contained in:
BDisp
2020-04-20 20:26:05 +01:00
committed by GitHub
parent 6bdd02fff1
commit 4522097c02
2 changed files with 1 additions and 4 deletions

3
.gitattributes vendored
View File

@@ -5,9 +5,6 @@
# native line endings on checkout.
*.cs text
# Convert to CRLF line endings on checkout.
*.sln text eol=crlf
# Convert to LF line endings on checkout.
*.sh text eol=lf

View File

@@ -43,7 +43,7 @@ namespace Terminal.Gui {
/// <param name="text">Initial text contents.</param>
public TextField (string text) : this (ustring.Make (text))
{
Height = 1;
}
/// <summary>