alexrestrepo / KZColorPicker

An HSV Wheel Color Picker for iOS
BSD 2-Clause "Simplified" License
90 stars 40 forks source link

How can I adjust y position of KZColorPickerBrightnessSlider? #9

Closed iraj-wisilica closed 9 years ago

iraj-wisilica commented 9 years ago

I am trying to modify the y position of the brightness slider. I have modified KZColorPickerBrightnessSlider *slider = [[KZColorPickerBrightnessSlider alloc] initWithFrame:CGRectMake(24,277,272,38) but It remains in the same position.

alexrestrepo commented 9 years ago

The location is fixed in -LayoutSubviews, Take a look at

In KZColorPicker.m

iraj-wisilica commented 9 years ago

Thank you. I will look into it.

iraj-wisilica commented 9 years ago

It works like a charm