What is the parent widget of the FlowPanel?

If it's one of the following you may find your answer here:

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

CellPanel (HorizontalPanel, VerticalPanel, DockPanel)

These panels all use table cells as their basic structural units.
While they still work in standards mode, they will lay out their
children somewhat differently. The main difference is that their
children will not respect width and height properties (it is common to
set children of CellPanels explicitly to 100% width and height). There
are also differences in the way that the browser allocates space to
individual table rows and columns that can lead to unexpected behavior
in standards mode

On Jan 17, 3:16 pm, laredotornado <[email protected]> wrote:
> Hi,
>
> I'm using GWT 2.4 and having a problem affecting IE 8 only.  I want to
> layout widgets (some having a minimum width) horizontally in a panel,
> and then have those widgets wrap to the next line if there is no more
> visible room on the current horizontal line.  If the number of lines
> exceeds the vertical display area, I would like a scroll bar to
> appear.  Is there a standard GWT way to do this?  Right now, I'm
> assigning styles to widgets, for example ...
>
>                 final FlowPanel panel = new FlowPanel();
>                 for (final Widget childWidget : childWidgets) {
>                         ...
>                         
> childWidget.getElement().getStyle().setProperty("display", "inline-
> block");
>                         ...
>                         panel.add(childWidget);
>
> but evidently what I'm doing isn't jiving with IE, because those
> widgets appear vertically.  GWT usually takes care of browser
> differences, so I'm wondering what the right way to layout widgets in
> GWT is.
>
> Thanks, - Dave

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