gwtproject / gwt

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

CellTree "Show more" not localizable #6279

Open dankurka opened 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 6280

Found in GWT Release (e.g. 1.5.3, 1.6 RC):

GWT 2.1.1

Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3):

Firefox 4.0 (not relevant)

Detailed description (please be as specific as possible):

When using a com.google.gwt.user.cellview.client.CellTree, the number of nodes shown
in a leaf is limited by the values set using the cellTree.setDefaultNodeSize(int);
The default number is 25

When the number of nodes exceeds this value, a "Show more" button is shown. The label
on this button doesn't take into account the system locale. It's not translatable or
configurable.

It seems to be hardcoded in the CellTreeNodeView.class
showMoreElem.setInnerText("Show more");

Workaround if you have one:

Set the defaultNodeSize to a value so that the "Show more" never occurs.

Reported by bert.depaz on 2011-04-22 13:08:09

dankurka commented 9 years ago

Reported by jlabanca@google.com on 2011-04-26 14:39:29

dankurka commented 9 years ago
http://code.google.com/p/google-web-toolkit/source/detail?r=11095

Reported by tuckerpmt on 2012-10-03 17:09:34