Skip to content

Commit

Permalink
added clarification for #82
Browse files Browse the repository at this point in the history
  • Loading branch information
RonenNess committed Jul 6, 2018
1 parent 8d0d572 commit 785c9fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions GeonBit.UI/Source/Entities/TextInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ public class TextInput : Panel
/// <summary>Text to show when there's no input. Note that this text will be drawn with PlaceholderParagraph, and not TextParagraph.</summary>
string _placeholderText = string.Empty;

/// <summary>Set to any number to limit input by characters count.</summary>
/// <summary>Set to any number to limit input by characters count.
/// Note: this will only take effect when user insert input, if you set value programmatically it will be ignored.</summary>
public int CharactersLimit = 0;

/// <summary>If true, will limit max input length to fit textbox size.</summary>
/// <summary>If true, will limit max input length to fit textbox size.
/// Note: this will only take effect when user insert input, if you set value programmatically it will be ignored.</summary>
public bool LimitBySize = false;

/// <summary>
Expand Down

0 comments on commit 785c9fd

Please sign in to comment.