Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

milktooth

macrumors member
Original poster
Oct 30, 2009
32
0
How do you gray-out buttons, particularly segmented controls?

I've tried setting alpha to .5, but with segmented controls the left and right parts overlap leaving an opaque strip in the center. Is there a preferred approach?
 

Thomas Harte

macrumors 6502
Nov 30, 2005
400
4
The best I've come up with is putting a half-transparent quad on top with the same colour/texture as the background on which the controls appear. It's fiddly though, so I'd say recommended only if someone doesn't have a better idea...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.