> I guess the right way is to add the TextBox to the canvas-wrapping Panel?
>

I would say so.
 

> And is so, how can I align the box then?
>

The wrapping panel could be a GWT AbsolutePanel that allows you to give all 
childs an absolute position using top/left coordinates. Your Canvas would 
start at 0,0 and have a width/height of 100% while the TextBox can have any 
other position/dimension.

If you don't want to use AbsolutePanel you could also just add some custom 
CSS to your TextBox and position it that way. Just make sure that when you 
use the CSS rule "position:absolute;" on the TextBox, the parent panel 
should have "position:relative;" set. Otherwise top/left coordinates for 
the TextBox are not relative to the bounds of the parent panel.

-- J.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to