I have created a simple "widget" from a UiBinder using a
DockLayoutPanel like below (GWT 2.0.4):
<g:DockLayoutPanel unit="PX">
<g:north size="200">
<g:TextArea></g:TextArea>
</g:north>
</g:DockLayoutPanel>
And the loaded this into page with
RootLayoutPanel rp = RootLayoutPanel.get();
rp.add(new SimpleTextArea());
In Chrome this looks as I expected it, the textarea fills the width
and height is 200px.
But in FF and IE8 the textarea is located the upper left corner of the
<div> (DockLayoutPanel) with some kind of default size.
(Using <!doctype html>)
Seems to be the same problem with TextBox.
Is there a better to achieve a TextArea/TextBox that fills the layout?
What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.