what container should i use?

21 views
Skip to first unread message

wahaha

unread,
Oct 28, 2011, 2:44:37 AM10/28/11
to Google Web Toolkit
there is a lot of little widgets,i want to put it into a container
logically,the benefit is that i can toggle the visable property of
these little widgets very conveniently via the container.

what container should i use in ui.xml?

if i use <div>,there is a quetion,the widgets will be positioned
depend on the container,it is very unconvenient.

how to solve this ?

sorry for my poor english.

wahaha

unread,
Oct 28, 2011, 2:47:40 AM10/28/11
to Google Web Toolkit
i need a container just logically,it will not affect the position.

wahaha

unread,
Oct 30, 2011, 8:59:27 PM10/30/11
to Google Web Toolkit
do it exist?

wahaha

unread,
Oct 31, 2011, 12:00:07 AM10/31/11
to Google Web Toolkit
i find the solution,i use <div> first and then set the the <div>'s
element's css property "position" to "static".

Brandon Donnelson

unread,
Oct 31, 2011, 10:56:40 AM10/31/11
to google-we...@googlegroups.com
If you want a Panel that you can control positioning in, use VerticalPanel and HorizontalPanel, then set the CellPositioning in the properties. If you use FlowPanel, you'll need to use CSS to Stylesheets to control positioning. You can always change it later to something else. 

Hope that helps,
Brandon Donnelson
Reply all
Reply to author
Forward
0 new messages