> for strict mode I need a replacement for HorizontalPanel.

Why?  What's wrong with HorizontalPanel?


On Dec 13, 9:38 pm, Magnus <[email protected]> wrote:
> Hi,
>
> for strict mode I need a replacement for HorizontalPanel.
>
> I would like to have a horizontal bar with different control elements
> side by side. It should behave exactly like a table row:
>
> - all cells remain in one row, no matter how much space is available
>   (the row is never broken)
>
> - the whole row may be set to 100% width
>
> - if so, some cells may be stretched
>
> I already tried to realize the whole row as a FlowPanel and also the
> different cells as FlowPanels. There are problems with this solution
> under IE7: When I insert a single PushButton into a cell (FlowPanel),
> the cell is stretched to a width of nearly 100%. So when I have 2
> cells they do not fit into the available width and are broken.
>
> (Example:http://www.bavaria64.de/bcs/bcs.html?showChat&debugLayout,
> the red border shows the whole row, the blue borders show the cells)
>
> I also tried to realize the different cells as LayoutPanels (and still
> the whole row as a FlowPanel). There are also problems: When I add a
> button to a cell (LayoutPanel), the button is enlarged as large as the
> containing cell.
>
> Can you recommend a right combination of panel types, or another
> solution?
>
> BTW: I thought that strict mode should lead to predictable layouts? So
> why does IE7 show a totally different alignment as FF does?
>
> Thanks
> Magnus

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