Hi Jens,
-- your first example is not clear to me:
<g:layer top="0" height="60px" ... >
<g:FlowPanel>
<g:Label text="Name:"/>
<g:TextArea/>
<g:Label text="Description:"/>
</g:FlowPanel>
</g:layer>
You put a label, a TextArea and another label in one FlowPanel?
This would place them all in one row?
And the second TextArea is placed in another layer:
<g:layer top="61" bottom="0" ... >
<g:TextArea/>
</g:layer>
If I understand your approach right, you combine several components into some panel and put this panel into a separate layer. But then, why not this way:?
<g:layer top="0" height="60px" ... >
<g:VerticalPanel> <!-- label should be *above* the TextBox -->
<g:Label text="Name:"/>
<g:TextBox/>
</g:VerticalPanel>
</g:layer>
<g:layer bottom="0" top="61px" ... >
<g:VerticalPanel> <!-- label should be *above* the TextArea -->
<g:Label text="Name:"/>
<g:TextArea/>
</g:VerticalPanel>
</g:layer>
Magnus
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