Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created January 25, 2016 20:39
Show Gist options
  • Save codenameone/124cab8d0c1da82756f1 to your computer and use it in GitHub Desktop.
Save codenameone/124cab8d0c1da82756f1 to your computer and use it in GitHub Desktop.
A usage sample for the Codename One FlowLayout layout manager
Form hi = new Form("Flow Layout", new FlowLayout());
hi.add(new Label("First")).
add(new Label("Second")).
add(new Label("Third")).
add(new Label("Fourth")).
add(new Label("Fifth"));
hi.show();
@codenameone
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment