Create a CSS file (mystyles.css), put it side by side with your module
html
file, and include the CSS file using <link/>.  Change the property in
css file "text-align:right".

//In module html file

<link type="text/css" rel="stylesheet" href="mystyles.css">


S. Abraham
www.DataStoreGwt.com
Persist objects directly in Google App Engine





On Oct 21, 12:09 am, Christopher Piggott <[email protected]> wrote:
> I need to right-align numbers and it doesn't work as I thought:
>
> NumberFormat fmt = NumberFormat.getFormat("####0");
>
> String value = fmt.format(10);
>
> What I expected was "   10"
>
> How should it work?

-- 
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.

Reply via email to