John R Doner
John R Doner

Reputation: 2282

Button background setting

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

Upvotes: 2

Views: 316

Answers (1)

Nicolas Goy
Nicolas Goy

Reputation:

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.

Upvotes: 3

Related Questions