I tried all ways to centralise a SimplePager in a FlowPanel, then in Grid, in HTMLPanel, DockLayoutPanel, & in <table>, but none of them works, ex:
<g:Grid> <g:row styleName="optionalHeaderStyle"> <g:customCell styleName="optionalFooCellStyle"> <c:SimplePager ui:field="mySimplePager" location="CENTER" /> </g:customCell> </g:row> </g:Grid> I did try to centralise SimplePager in FlowPanel using code, then it works. Ex:
FlowPanel myFP=new FlowPanel(); myFP.getElement().getStyle().setTextAlignment(TextAlign.CENTER); myFP.add(mySimplePager); so, How to Centralise SimplePager within a Grid or FlowPanel (or any panels) in UiBinder?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment