Re: Control default color inconsistencies
Re: Control default color inconsistencies
- Subject: Re: Control default color inconsistencies
- From: Andreas Falkenhahn <email@hidden>
- Date: Thu, 15 Dec 2016 15:53:04 +0100
On 14.12.2016 at 18:47 Gary L. Wade wrote:
> Set the background color of self.view to something other than black
> and your button and label will be more visible.
Thanks, that was indeed the problem. UIButton and UILabel both seem to use
a clear background color as the default, which resulted in the UIView's
background color, which was black, shining through them.
I'm now stealing the default background color of the UITableView for my
UIView to get a consistent look, i.e. I'm doing the following in my
view controller's viewDidLoad():
self.view.backgroundColor = tableView.backgroundColor;
Everything looks correctly then.
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden