Hello, I'd like to have a popup panel that prints. I want to have a page
break at a specific location when printing. I am using GWT 2.4 with
UiBinder. Here are some specifics:
<ui:uiBinder>
<g:HTMLPanel>
<g:FlexTable>...I am programmatically building the flex
table...</g:FlexTable>
<!-- I want a page break here -->
<g:Label>...</g:Label>
</g:HTMLPanel>
...
I have tried adding a style to the label like this:
.pageBreak {
page-break-before: always;
}
...
<g:Label addStyleNames="{style.pageBreak}">...</g:Label>
I've also tried something like this:
<g:HTML addStyleNames="{style.pageBreak}"/>
<g:Label>...</g:Label>
even tried this...
<g:HTML>
<div style="page-break-before: always;"/>
</g:HTML>
<g:Label>...</g:Label>
But nothing seems to work. Does anyone have a suggestion?
Thanks,
Ted
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/XGTYRKmkxbYJ.
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.