Wednesday, November 20, 2013

Re: liquid layout with UIBinder

Hi Jens,

ok, like this?:

<g:LayoutPanel>

  <g:layer top="0" height="20px" ... >
   <g:Label text="Name:"/> 
  </g:layer>

  <g:layer top="21" height="20px" ... >
   <g:TextArea/> 
  </g:layer>

  <g:layer top="41" height="20px" ... >
   <g:Label text="Description:"/> 
  </g:layer>

  <g:layer top="61" bottom="0" ... >
   <g:TextArea/> 
  </g:layer>

</g:LayoutPanel>


Is this the way to go? Especially, is it necessary to hardcode the top and height of every label and the TextBox?

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