Wednesday, June 27, 2012

Re: Custom Widget in FlowPanel seem not to work

However when I place the resulting Widget into a FlowPanel, it is layouted from top to down, like in a VerticalPanel.

Your widget needs some CSS rules (probably display:inline) so it does not fill up the entire width of the FlowPanel. If there is no horizontal space available FlowPanel can only layout its childs vertically (FlowPanel is only a simple <div></div> block)

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s5V-rAr6fh4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment