Skip to content

Commit

Permalink
Merge pull request #292 from valimaties/FixBaseTextBoxLocation
Browse files Browse the repository at this point in the history
Fix MaterialTextBox2 Text overlapping Hint
  • Loading branch information
orapps44 authored Nov 11, 2021
2 parents 211dc0c + bde45af commit c718291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MaterialSkin/Controls/MaterialTextBox2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public override ContextMenuStrip ContextMenuStrip
[Browsable(false)]
public override Color BackColor { get { return Parent == null ? SkinManager.BackgroundColor : Parent.BackColor; } }

public override string Text { get { return baseTextBox.Text; } set { baseTextBox.Text = value; } }
public override string Text { get { return baseTextBox.Text; } set { baseTextBox.Text = value; UpdateRects(); } }

[Category("Appearance")]
public HorizontalAlignment TextAlign { get { return baseTextBox.TextAlign; } set { baseTextBox.TextAlign = value; } }
Expand Down

0 comments on commit c718291

Please sign in to comment.