Skip to content

Commit

Permalink
Merge pull request unoplatform#6133 from unoplatform/dev/sb/textbox-b…
Browse files Browse the repository at this point in the history
…order

fix(TextBox): Remove FocusRing on macOS
  • Loading branch information
mergify[bot] authored Jun 2, 2021
2 parents 3d9c72d + 53ec039 commit 6a25c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ private void Initialize()

DrawsBackground = false;
Bezeled = false;
FocusRingType = NSFocusRingType.None;
}

public override CGSize SizeThatFits(CGSize size)
Expand Down
1 change: 1 addition & 0 deletions src/Uno.UI/UI/Xaml/Controls/TextBox/TextBoxView.macOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private void Initialize()

DrawsBackground = false;
Bezeled = false;
FocusRingType = NSFocusRingType.None;
}

public override CGSize SizeThatFits(CGSize size) => IFrameworkElementHelper.SizeThatFits(this, base.SizeThatFits(size));
Expand Down

0 comments on commit 6a25c39

Please sign in to comment.