Re: Absolute positioning images
@Jens: no, it doesn't work because, as Andrei said, whatever you add to RootLayoutPanel takes up all the space
@Andrei: so you are suggesting to move the whole gui from RootLayoutPanel to the LayoutPanel; I'm not sure I can do it in my case, but that's an acceptable workaround.
Thanks
On Thursday, September 13, 2012 5:51:21 PM UTC+2, Jens wrote:
-- On Thursday, September 13, 2012 5:51:21 PM UTC+2, Jens wrote:
Image img = new Image(....);RootLayoutPanel.get().add(img)RootLayoutPanel.get().; setWidgetTopHeight(img, 100, Unit.PX, 12, Unit.PX);
RootLayoutPanel.get().setWidgetLeftWidth(img, 100, Unit.PX, 12, Unit.PX); should work I guess. RootLayoutPanel is just a singleton LayoutPanel.-- J.
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/-/Q_KVGu9DYdIJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home