<mx:ColorPicker x="179" y="40" width="15" height="15" id="ColorPicker"
borderColor="#898888" swatchPanelStyleName="mySwatchPanelStyle "
selectedColor="FFFFFF" />
.mySwatchPanelStyle {
backgroundColor:#E5E6E7;
columnCount:20;
horizontalGap:0;
previewHeight:12;
previewWidth:63;
swatchGridBackgroundColor:#000000;
swatchGridBorderSize:0;
swatchHeight:8;
swatchHighlightColor:#FFFFFF;
swatchHighlightSize:1;
swatchWidth:10;
text-indent:0;
text-field-width:0;
text-selected-color:#000000;
verticalGap:0;
}
this is what i did. And its working now
thanks
On Apr 2, 6:20 pm, [email protected] wrote:
> Do you want to limit the colors?
> Can you post the application for better understanding?
>
>
>
> On Thu, Apr 2, 2009 at 5:45 AM, nd <[email protected]> wrote:
>
> > Hi All,
>
> > I am working on the color picker in AIR.
> > I want to change the color picker pallet size, i.e. the color pallet
> > that comes out when you click on color picker button.
>
> > <mx:ColorPicker x="179" y="40" width="15" height="15" id="ColorPicker"
> > borderColor="#898888"
> > selectedColor="FFFFFF" />
>
> > In this case the pallet that comes out, is of default size and is
> > getting cut because of by application size.
>
> > Can some body tell me, how to reduce the color picker pallet size.
>
> > Thanks
>
> --
> Sincerely
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> Edwin Melendez
> Print/Web/Media
> 646-246-4368
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---