Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created January 27, 2016 13:51
Show Gist options
  • Save codenameone/5d2908517241126b5803 to your computer and use it in GitHub Desktop.
Save codenameone/5d2908517241126b5803 to your computer and use it in GitHub Desktop.
Sample of the terse box layout syntax of the box layout X Codename One API
Container box = BoxLayout.encloseX(new Label("First"),
new Label("Second"),
new Label("Third"),
new Label("Fourth"),
new Label("Fifth")));
@codenameone
Copy link
Author

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