Go Back   SmartClient Forums > Smart GWT Technical Q&A
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25th Apr 2009, 06:07
jsanroman jsanroman is offline
Registered Developer
 
Join Date: Apr 2009
Posts: 3
Default FlowLayout in smartgwt?

Hello

I'm looking for a layout with the same behavior that FlowLayout of GWT, but smartgwt not find anything similar. I need that the components are placed horizontally and jump to the next line if they have no more space.
Any idea?


Thanks
Javi Sanromán
Reply With Quote
  #2  
Old 25th Apr 2009, 08:10
sjivan sjivan is online now
Registered Developer
 
Join Date: May 2008
Posts: 1,057
Default

Hi Javi,
Use a TileLayout with layout policy FLOW.

Code:
tileLayout.setLayoutPolicy(TileLayoutPolicy.FLOW);

Sanjiv
Reply With Quote
  #3  
Old 30th Apr 2009, 04:35
jsanroman jsanroman is offline
Registered Developer
 
Join Date: Apr 2009
Posts: 3
Default

Quote:
Originally Posted by sjivan
Hi Javi,
Use a TileLayout with layout policy FLOW.

Code:
tileLayout.setLayoutPolicy(TileLayoutPolicy.FLOW);

Sanjiv

Thank you Sjivan!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


©2006 Isomorphic Software   ·   Terms of use