PDA

View Full Version : Ext.ux.Color



Collin Miller
29 Oct 2007, 3:21 PM
This is the first released portion of a port of John Dyer's Photoshop-like color picker:

http://johndyer.name/lab/colorpicker/

This Color class can convert between HSV, RGB and HEX values.

This page was vital to understanding how to convert to/from HSV.
http://www.cs.rit.edu/~ncs/color/t_convert.html

The Hue/Saturation/Value model was created by A. R. Smith in 1978.

Code is up on Google. Wiki provides a use example.

http://code.google.com/p/ext-ux-color/

I hope to get ux.ColorPickerPanel up on GoogleCode by mid-week.

brookd
29 Jul 2008, 2:48 PM
When I try to do this:



picker = new Ext.Window({
title:'Color Picker',
width:400,
height:330,
items: new Ext.ux.color.ColorPickerPanel()
})

picker.show();


I get an error

rz has no properties
[Break on this error] rz.setWidth(aw);

Any ideas why I can't nest this panel inside a window?