Page 1 of 1

Writing RGBA code?

Posted: Tue Aug 09, 2011 10:34 am
by Adendum
Hi Support,

I'm working on a new extension called Orbit Slider and in one section I want to write some CSS code as follows:-

background: rgba(0,0,0,0.4);

I can't find a method in the extension builder that allows this to be done simply. So as a temporary solution I have had to use an XML template and have the end user specify each parameter separately. So they manually select red and enter a value from 0 to 255, the same for green and blue plus a pull down option for the opacity. It works but it cumbersome.

Can you either suggest a better way to achieve this or consider an update that will provide an rgba Type in the Edit Properties box?

Re: Writing RGBA code?

Posted: Tue Aug 09, 2011 11:00 am
by Pablo
I'm sorry at this moment rgba is not supported.
And as far I know there does not (yet) exist a color picker which supports color with alpha values.

Re: Writing RGBA code?

Posted: Tue Aug 09, 2011 11:37 am
by Adendum
Hi,

I did a search for rgba color pickers and found a couple of things - maybe you can use these somehow?

http://www.codeproject.com/KB/miscctrl/CPicker.aspx

http://www.codeproject.com/KB/miscctrl/ ... ntrol.aspx

http://www.freedownload3.com/search/rgba_picker.html

:)

Re: Writing RGBA code?

Posted: Tue Aug 09, 2011 11:44 am
by Pablo
Thanks for the links.
Keep in mind however that this will not be an easy modification so it may take a while

Re: Writing RGBA code?

Posted: Tue Aug 09, 2011 12:03 pm
by Adendum
Hi,

Of course - make it for the next release of Extension Builder.

Do you have a list of enhancements/changes you are planning for the next version? Would be interesting to see the list :)

Re: Writing RGBA code?

Posted: Tue Aug 09, 2011 12:17 pm
by Pablo
No, there is no official list yet. However if you keep an eye in this forum then you will be the first to know :D