Add an Icon to a Flex Color Picker

I want to add an icon to a color picker component that will have a value without color (empty rectangle). is this the way to do it?

thanks

0


a source to share


1 answer


you can make an image of what you want like an icon.

Right Mouse Button - src map - new - CSS file to create a new CSS file on the original map or wherever you want.

Double click the CSS file and go to design mode. Right click on stage or click the + style button at the top of the content box.



select your component (colorpicker) - change the color in the right column, if you still can't get what you want, click the skin button in the right column and select "image files" from the list and paste your images.

In short: - create images of whatever you want - create css file - add css to colorpicker component - select skin from the right menu - select image files from the list - paste the generated images.

ow and don't forget to add your css file to your app.

0


a source







All Articles