Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created January 28, 2016 09:19
Show Gist options
  • Save codenameone/2b4d9a13f409e297fb2e to your computer and use it in GitHub Desktop.
Save codenameone/2b4d9a13f409e297fb2e to your computer and use it in GitHub Desktop.
Sample of the Codename One TableLayout using the terse syntax calls
Container tl = TableLayout.encloseIn(2, new Label("First"),
new Label("Second"),
new Label("Third"),
new Label("Fourth"),
new Label("Fifth")));
@codenameone
Copy link
Author

Sample usage code for TableLayout

From the Codename One project

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