shahid,

When I look at the CSS (via Firebug) on my tree with custom widgets, I
see a hierarchy like this:

gwt-TreeItem
  mm-ResultBar

gwt-TreeItem gwtTreeItem-selected
  mm-ResultBar

In my case, the widget I'm adding to the tree has its own style name
(mm-ResultBar). Make sure you don't set the background of your inner
widget or it will cover up the gwtTreeItem-selected background.

HTH,
Chad

On Aug 4, 5:57 am, shahid <[email protected]> wrote:
> I have a GWT tree. When I use the tree.addItem(Widget) to add the tree
> items as Widgets to the tree, the gwt-treeitem-selected style do not
> apply to the tree items any more when items are selected. I have
> checked in Firebug.Does any one know how to get round this ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to