Hi Ratibor,

the ComboBox uses a qx.ui.form.TextField child control, you can set the 
font color on that:

selectCountry.getChildControl("textfield").setTextColor("#888");

For reference, each widget's child controls are listed in the 
APIViewer[1], all the way on the bottom.


Regards,
Daniel

[1] http://demo.qooxdoo.org/devel/apiviewer/index.html#qx.ui.form.ComboBox

Ratibor Redoran schrieb:
> Hello, guys!
> 
> I have next problem: function setTextColor don't change text color in the
> ComboBox.
> 
> My code:
>       var selectCountry = new qx.ui.form.ComboBox();
>       selectCountry.setFont(qx.bom.Font.fromString(font));
>       selectCountry.setTextColor("#888");
> 
> But text color in the combobox in the screen is black.
> 
> Next code don't work (FireBug generate next message:
> "selectCountry.setStyleProperty is not a function"):
>       selectCountry.setStyleProperty("textcolor", 0xFF0000);
> 
> Tell me please, how to change text color in the ComboBox?


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to