Skip to content

Instantly share code, notes, and snippets.

@enyo
Created March 25, 2010 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enyo/343927 to your computer and use it in GitHub Desktop.
Save enyo/343927 to your computer and use it in GitHub Desktop.
content: SC.ContainerView.design({
layout: { left: 250, top: 0, bottom: 0, right: 0 },
nowShowing: 'Settings.BankView'
})
// The bank view:
Settings.BankView = SC.View.extend(
/** @scope Settings.BankView.prototype */ {
childViews: [
SC.LabelView.design({
layout: { centerY: 0, centerX: 0, height: 22, left: 0, right: 0 },
textAlign: SC.ALIGN_CENTER,
controlSize: SC.LARGE_CONTROL_SIZE,
value: 'Bank'
})
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment