I am using a flow panel in one of grid's column. I want objects to
wrap in flow panel as needed.
It works fine when there is only one widget in flow panel but does not
when there are more than one object. I have to add few labels and
links in panel but here in this example just 2 labels just to show
whats happening.

//This works
FlowPanel flowPnl = new FlowPanel();
flowPnl.add(new Label("one two three... this wraps as needed"));
gridPnl.setWidget(row, column, flowPnl);

//This does not work, each label / link goes in next line, even though
there is plenty of space in column
FlowPanel flowPnl = new FlowPanel();
flowPnl.add(new Label("one"));
flowPnl.add(new Label("two"));
gridPnl.setWidget(row, column, flowPnl);

Any suggestions to fix it, thanks.

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