EurekaCommunity / ColorPickerRow

A color picker row for use with the Eureka form library
MIT License
56 stars 15 forks source link

Feature Request: numberOfRows #19

Open Sweeper777 opened 3 years ago

Sweeper777 commented 3 years ago

Having 3 rows of colours makes the picker look very empty if there are only a few (<10) colours to choose from. In such a use case, I would like to show all the swatches on one row. In other situations, where there are a lot of colours, or when you are on a large screen, it would be better to show more colours at once.

Can you please add a property numberOfRows that controls how many rows of colours the picker shows?

alldritt commented 3 years ago

Thanks for the suggestion. Because of the way color category labels are presented, I think the entire control would need to be redesigned for a single row of colors. I've done some work in this area for another project and I may introduce a new ColorPicker project when its fully working. I'll post here if/when that happens.