Amigo, en el html donde tienes el id "flexTable", mete css. 2011/7/6 Xavier <xrobl...@gmail.com>
> I have an html5 canvas element within a flextable and that flextable > is in the root panel. I would like to align the application so it is > displayed in the center of the page both vertically and horizontally. > Currently it is displayed in the upper left hand corner. > > code: > Document document = Document.get(); > Canvas canvasElement = (Canvas) document.getElementById("canvas"); > final MyFocusWidget webGLCanvas = new MyFocusWidget((Element) > canvasElement); > flexT.setWidget(0, 0, webGLCanvas); > RootPanel.get("flexTable").add(flexT); > > > Any help is appreciated. > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- El precio es lo que pagas. El valor es lo que recibes. Warren Buffet -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.