views:

117

answers:

1

This question is almost embarrassing to ask, but I can't find the answer in any documentation.

I have a UIButton in a view. In IB, I set the button's background to a colour. The original rectangle in the Identity Inspector shows a half-black, half-white rectangle for the button's background.

I can't find anyway to set the background back to the original setting. Anybody know how to do this?

Thanks in advance for any help.

John Doner

+4  A: 

Half black, half white means it has an alpha value.

Click on the color, and in the bottom part of the color picker, you can set the alpha. Set it back to 0% to have the original value back.

Actually, that's reversed: set the alpha to 100% to get your original color back. 0% means completely transparent.
Ben Gottlieb
OK, thanks. There is a vast amount of knowledge in the "cloud" out there that seems to be very hard to locate in documentation.John Doner
John R Doner