Commit 686c91be authored by Viktor Semeniuk's avatar Viktor Semeniuk Committed by Commit Bot

[iOS] Background colour for UITextView on popover

This change sets clear background colour for UITextView on popover.

Bug: 1108741
Change-Id: Ifa46a2520e6b176fcd3873eeb56c33150a70178e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316196Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Reviewed-by: default avatarJavier Ernesto Flores Robles <javierrobles@chromium.org>
Commit-Queue: Viktor Semeniuk <vsemeniuk@google.com>
Cr-Commit-Position: refs/heads/master@{#791241}
parent 14cd370a
......@@ -99,6 +99,7 @@ constexpr CGFloat kVerticalDistance = 24;
textView.scrollEnabled = NO;
textView.editable = NO;
textView.delegate = self;
textView.backgroundColor = [UIColor clearColor];
textView.font = [UIFont preferredFontForTextStyle:UIFontTextStyleSubheadline];
textView.adjustsFontForContentSizeCategory = YES;
textView.translatesAutoresizingMaskIntoConstraints = NO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment