Thanks Ian, I appreciate the follow up. I have done a lot of flash
development lately (ugh) but one thing it does well is render things
nicely - if I made an empty box in flash with a bottom border, well,
thats what you get on the screen.

I have to keep reminding myself of limitations like (the one you
mentioned) when I get back to the HTML world. Still, I would rather be
with GWT then flash any day of the week.

Best,

Mark

On Nov 7, 11:50 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> That's the way is is supposed to work - if there is nothing to
> display, then there is, well, nothing to display.
>
> If you use a sensible doctype, you will get (more) consistent results
> - I.E. will behave better (well, the old ones won't)
>
> The old versions of IE used to have an empty linebox in there which
> preserved space
>
> Ian
>
> http://examples.roughian.com
>
> 2008/11/7mwaschkowski<[EMAIL PROTECTED]>:
>
>
>
> > OK, the solution is basically that you have to add a label (even a
> > completely empty Label!) or else the horizontal panel is not
> > displayed, regardless if you set a height or not.
>
> > ie.
> >            HorizontalPanel separaterPanel = new HorizontalPanel();
> >            separaterPanel.setWidth("90%");
> >            separaterPanel.add(new Label(""));
> >            DOM.setStyleAttribute(separaterPanel.getElement(),
> > "borderBottom", "1px solid #DCDCDC");
> >            DOM.setStyleAttribute(separaterPanel.getElement(),
> > "margin", "7px");
>
> > Why does adding the label make the horizontal panel be displayed? Or,
> > why won't the HP be displayed without something inside?
>
> > Thanks,
>
> > Mark
--~--~---------~--~----~------------~-------~--~----~
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