RastislavMirek / FlexColorPicker

Modern color picker library written in Swift 5 that can be easily extended and customized. It aims to provide great UX and performance with stable, quality code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Position of little circle on color pallet.

Knkush opened this issue · comments

can't change position of little circle. its default 0 but I want set position to 180

You can set the color programatically and that will set the slider position to corresponding color. Changing just the slider position would make no sense.

Thank you. and tell me please how I can change the color pallet and width of color in slider

First, read the documentation carefully. You are probably using default DefaultColorPickerViewController and with that you can only change the palette to rectangular using useRadialPalette property. If you want to change width of sliders, you cannot use DefaultColorPickerViewController but either CustomColorPickerViewController or ColorPickerController. See this section of readme for quick start.