Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interface Builder background color => clear color?

I've setup some background colors for my Labels in order to position them. Now that they are well in place, I would like to reset their background color to none, or clearColor.

But I don't find any way to achieve this in IB, I don't find any "no color" color...

Is there any way to do this without re-coding color at runtime?

like image 545
jchatard Avatar asked Jul 25 '26 02:07

jchatard


2 Answers

Set Opecity = 0 in Background option in IB

like image 200
Reena Avatar answered Jul 26 '26 16:07

Reena


If you are working in xcode 4

  1. Select your label whose color you want to clear
  2. In the Attributes Inspector in Inspector Window select the "clear color" option in the "Background" drop down menu. The same menu used to set the color of the labels.
like image 37
maven25 Avatar answered Jul 26 '26 15:07

maven25



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!