Skip to content

Commit 4522097

Browse files
authoredApr 20, 2020
Forces the height of the TextField to 1 which is just the valid height instead of driver rows value. (gui-cs#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.
1 parent 6bdd02f commit 4522097

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
 

‎.gitattributes

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
# native line endings on checkout.
66
*.cs text
77

8-
# Convert to CRLF line endings on checkout.
9-
*.sln text eol=crlf
10-
118
# Convert to LF line endings on checkout.
129
*.sh text eol=lf
1310

‎Terminal.Gui/Views/TextField.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class TextField : View {
4343
/// <param name="text">Initial text contents.</param>
4444
public TextField (string text) : this (ustring.Make (text))
4545
{
46-
46+
Height = 1;
4747
}
4848

4949
/// <summary>

0 commit comments

Comments
 (0)
Please sign in to comment.