>>it's just hp.setCellHorizontalAlignment(button, HasAlignment.ALIGN_CENTER);

Ah, that compiled cleanly now...thanks!

You must stay REALLY busy, between posts here, email,
and your new email-based newbie-class.  Do you have help
on your website, or are you doing it all by yourself?


On Dec 8, 2:31 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Thanks!
> No I was not implying that there is an example there, just that
> setCellHorizontalAlignment
> is what you need - I was about to do something else, so I didn't expand.
> Sorry.
>
> Once you have a widget in a cell let's say 'button' in a HorizontalPanel
> 'hp'
>
> it's just hp.setCellHorizontalAlignment(button, HasAlignment.ALIGN_CENTER);
>
> and the alignment is set.
>
> setHorizontalAlignment as you say, sets the alignment default for future
> adds
>
> That is a very slick website you've constructed!  [I assume
>
> you were already a heavy-duty website developer before
>
> you started learning Java?]
>
> Not really, though I had done a couple, but that mostly consisted of me
> telling people who worked for me what I wanted them to do. Before GWT and
> Java (I learnt both from scratch a couple of years ago) I'd done internet
> stuff, but is was things like replacing a fax-based document system with an
> electronic one over the internet - 3m documents a year, 160 offices in 80
> countries - all with different back end systems, some without an electricity
> supply. I like a challenge :-)
>
> Ian
>
> http://examples.roughian.com
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to