Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created November 25, 2011 16:51
Show Gist options
  • Save ccapndave/1393962 to your computer and use it in GitHub Desktop.
Save ccapndave/1393962 to your computer and use it in GitHub Desktop.
mainPane: SC.MainPane.design({
childViews: "workspaceView".w(),
workspaceView: SC.WorkspaceView.design({
topToolbar: SC.ToolbarView.design({
childViews: "backButtonView forwardButtonView ".w(),
backButtonView: SC.LabelView.design({
layout: { left: 10, width: 24, height: 24 },
icon: "sc-icon-left-24"
}),
forwardButtonView: SC.LabelView.design({
layout: { left: 50, width: 24, height: 24 },
icon: "sc-icon-right-24"
})
}),
contentView: SC.TabView.design({
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment