Wednesday, February 29, 2012

What is header size attribute in TabLayoutPanel (UiBinder)?

I'm following the UiBinder example for a TabLayoutPanel, and I'm
wondering what a header's size attribute is. From the example in the
javadoc:

<g:TabLayoutPanel barUnit='EM' barHeight='3'>
<g:tab>
<g:header size='7'><b>HTML</b> header</g:header>
<g:Label>able</g:Label>
</g:tab>
...

So what is size, as in <g:header size='7'>? In my own app, I have 3
tabs. Regardless of what I set size to, the headers always appear the
same in IE and Firefox, even when each size is different (say, 0, 7,
and 21).

BTW, as noted in Issue 4694, comments 44 and 45, in IE you **must**
use barUnit='PX', at least if your TabLayoutPanel resides in a
SplitLayoutPanel. If you don't, the tab widget take up the entire
height and the tab bar is not seen.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment