No, it's just me.
In Eclipse, when you get to the HasAlignment.ALIGN_XXXXXX bit, if you
haven't discovered this, type 'hasa' (no quotes) then press CTRL+Space,
press enter to accept 'HasAlignment', press '.' to get the options, then use
the arrow keys and press enter to accept the alignment.

That looks amazingly complicated written out like that, but try it and see
what happens.

Ian

http://examples.roughian.com


2008/12/8 David H. Cook <[EMAIL PROTECTED]>

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