new color item

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

new color item

Boiteux, Benoit

Hello,

 

I noticed you modified the color item editor. That’s super!

Now, when I have in my view:

 

Item('color', style='simple', label="Curve color") # where color is traits.api.Color

 

The result is something like :

Item label (=’Curve Color’) TextBox(ex:’rgb(29, 99, 88)’) colorButton (un button with the chosen color, and the code color code in Hexa in frontend).

 

Is it possible to hide the text Box and just have a basic button with only the color ?

 

Thanks

benoit

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: new color item

fred-2
Boiteux, Benoit a écrit :

> Is it possible to hide the text Box and just have a basic button with
> only the color ?
Already asked :-)

https://mail.enthought.com/pipermail/enthought-dev/2010-January/025287.html

Bryce? ;-)


Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: new color item

Boiteux, Benoit
Oops sorry, I didn't see your mail :)

You're right the text editor is useless, and the color code in hexadecimal on the button is useless too.

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of fred
Sent: Tuesday, March 02, 2010 2:47 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] new color item

Boiteux, Benoit a écrit :

> Is it possible to hide the text Box and just have a basic button with
> only the color ?
Already asked :-)

https://mail.enthought.com/pipermail/enthought-dev/2010-January/025287.html

Bryce? ;-)


Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev