{"size": 482, "ext": "js", "max_stars_repo_path": "snippets/scrollview/scrollview.js", "max_stars_repo_name": "pimaxdev/tabris", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "snippets/scrollview/scrollview.js", "max_issues_repo_name": "pimaxdev/tabris", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "snippets/scrollview/scrollview.js", "max_forks_repo_name": "pimaxdev/tabris", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.9523809524, "max_line_length": 61, "alphanum_fraction": 0.5995850622}
var page = tabris.create("Page", {
  title: "Scroll Composite - Horizontal",
  topLevel: true
});

var scrollView = tabris.create("ScrollView", {
  direction: "horizontal",
  layoutData: {left: 0, top: "40%", right: 0, bottom: "40%"},
  background: "#234"
}).appendTo(page);

for (var i = 0; i < 50; i++) {
  tabris.create("TextView", {
    layoutData: {left: i * 30 + 20, centerY: 0, width: 30},
    text: i + "°",
    textColor: "white"
  }).appendTo(scrollView);
}

page.open();
