Skip to content

Instantly share code, notes, and snippets.

@soapdog
Created November 29, 2013 14:52
Show Gist options
  • Save soapdog/7706841 to your computer and use it in GitHub Desktop.
Save soapdog/7706841 to your computer and use it in GitHub Desktop.
Why fittable does not work
enyo.kind({
name: "App",
kind: "FittableRows",
components:[
{kind: "Signals", ondeviceready: "deviceReady"},
{kind: "onyx.Toolbar", classes: "center", content: "Anuários do Consultor Jurídico"},
{kind: "enyo.Scroller", fit: true, components: [
{name: "busy", classes: "center", showing: false, components: [
{
kind: "onyx.Spinner",
classes: "onyx-light"
},
{
name: "busyMessage",
content: "Carregando..."
},
{
name: "progress",
kind: "onyx.ProgressButton",
onCancel: "cancelDownload",
showing: false
}
]},
{name: "catalog", classes: "nice-padding", allowHtml: true}
]},
{kind: "onyx.Toolbar", components: [
{kind: "onyx.Button", content: "Recarregar", ontap: "helloWorldTap"},
{kind: "onyx.Button", content: "Baixar 1 revista", ontap: "baixar"},
{kind: "onyx.Button", content: "Abrir revista", ontap: "abrirPDF"}
]}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment