Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    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

    #2
    Hi Javi,
    Use a TileLayout with layout policy FLOW.

    Code:
    tileLayout.setLayoutPolicy(TileLayoutPolicy.FLOW);
    Sanjiv

    Comment


      #3
      Originally posted by sjivan
      Hi Javi,
      Use a TileLayout with layout policy FLOW.

      Code:
      tileLayout.setLayoutPolicy(TileLayoutPolicy.FLOW);
      Sanjiv
      Thank you Sjivan!

      Comment

      Working...
      X