Hi Kanugula,

Kanugula wrote:
> Hi,
> 
> I couldn't find a way to colorize my GroupBox label. 
> var group1 = new qx.ui.groupbox.GroupBox("Product",
> "icon/16/apps/preferences.png");
> group1.setDimension("auto", "auto");
> 
> var group2 = new qx.ui.groupbox.GroupBox("Item",
> "icon/16/apps/preferences.png");
> group2.setDimension("auto", "auto");
> 
> I want to see my labels 'Product' and 'Item' with blue color text.
> 
> Is there a way?
I guess the property "textColor" is the thing you look for.

--snip--
// "getLegendObject" returns an atom widget
group2.getLegendObject().setTextColor("blue");

// or if the above does not work, try to set the textColor directly at 
the label
group2.getLegendObject().getLabelObject().setTextColor("blue");
--snip--

One of the proposed solution should do the job.

cheers,
   Alex

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to