gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 374 forks source link

cellBrowserSelectedBackground does not get called #5819

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 5820

Found this issue in GWT 2.1.0. com.google.gwt.user.cellview.client.CellTree.Resources
contains a ClientBundle Resources with a method cellTreeSelectedBackground(). Linking
this to an imageresource has no effect since this method never gets called in the CellTree.

Reported by kpbode on 2010-12-27 12:51:19

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-05-27 01:49:54

dankurka commented 9 years ago
The cellTreeSelectedBackground ImageResource is used in the TreeCell css as sprite for
the background of cell tree selected item.

Here a snippet of the default TreeCell.css:

@sprite .cellTreeSelectedItem {
  gwt-image: 'cellTreeSelectedBackground';
  background-color: #628cd5;
  color: white;
  height: auto;
  overflow: visible;
}

I don't think this is an issue.

Reported by defaveri on 2013-10-29 21:56:22

dankurka commented 9 years ago
You are right this is used inside the CSS

Reported by dankurka@google.com on 2013-10-30 08:48:26