added colour options Raster and UIColor #2

Closed
wants to merge 7 commits into
from

Projects

None yet

2 participants

@mmmbiscuits

Hey eliperkins

I've added colour change of the DropDownView with 2 separate methods:
#1 Just init'ing with a different UIImage as a string:

 - People love raster editing.
 - I've kept your original naming convention bg-[colour].png. 

#2 Designating a UIColor and the background image as a see through texture/gradient layer which is sitting on top:

 - Quickly changeable of what colour the background is in code. 
 - The call is a kinda long in its full state.

at the moment the lighter methods point to the UIColor method but feel free to pick which is used as the default...

Contributor

Although this is a step in the right direction, I'm not so sure this is the best way to go about doing it. Creating a custom initWithFrame like that isn't always desirable. Also, the background color frame should not extend full height, like the "overlayer" frame. The color should end before, and then a few pixels at the bottom to create a border and shadow.

@eliperkins eliperkins closed this Feb 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment