Export to GitHub

google-web-toolkit - issue #4851

Javadoc for TabLayoutPanel has a ui binder example that doesn't render properly


Posted on Apr 12, 2010 by Grumpy Elephant

(If this is your first time submitting an issue report to the GWT Issue Tracker, please see the sample issue report linked below for an example of a well reported issue) Sample issue report: http://code.google.com/p/google-web-toolkit/wiki/IssueReportSample

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

2.0.3

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

Linux, Chrome 5.0.371.0dev

Detailed description (please be as specific as possible):

http://google-web- toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/TabLay outPanel.html has a ui binder example with:

<g:TabLayoutPanel barUnit='PX' barHeight='3'> <g:tab>

3 pixels is rather small, and leads to the rendering of the tab layout panel being very broken. barUnit should probably be EM.

Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result):

See sample code from javadoc.

Workaround if you have one:

Not necessary, it's just a documentation bug.

Links to relevant GWT Developer Forum posts:

Comment #1

Posted on Apr 12, 2010 by Grumpy Elephant

http://gwt-code-reviews.appspot.com/329802/

Comment #2

Posted on Dec 17, 2011 by Grumpy Dog

Fixed in r8039.

Status: Fixed