Friday, September 10, 2010

Re: GWT Checkbox label positioning

On Sep 9, 9:27 pm, gshep7 <guys...@gmail.com> wrote:
> I have a need to position the checkbox label to the left of the
> checkbox.  By default it is positioned on the right.  Is there anyway
> to do this?  I tried using css to do this without any luck.  I googled
> it and couldn't find anything that works for me.  Any example would be
> greatly appreciated.

In case you're using UiBinder, there's a very easy way:
<label>My text on the left: <g:SimpleCheckBox ui:field="myCheckBox" /
></label>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

No comments:

Post a Comment