Created
January 10, 2011 17:01
-
-
Save gmoeck/773050 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Todos.mainPage = SC.Page.design({ | |
mainPane: SC.MainPane.design({ | |
childViews: 'middleView bottomView'.w(), //ADDED bottomView | |
middleView: SC.ScrollView.design({ | |
hasHorizontalScroller: NO, | |
layout: { top: 36, bottom: 32, left: 0, right: 0 }, | |
backgroundColor: 'white', | |
childViews: 'contentView'.w(), | |
contentView: SC.ListView.design({ | |
contentBinding: 'Todos.tasksController.arrangedObjects', | |
contentValueKey: 'description', | |
contentCheckboxKey: 'isDone' | |
}) | |
}), | |
//ADDED THIS VIEW | |
bottomView: SC.ToolbarView.design({ | |
childViews: 'summaryView'.w(), | |
summaryView: SC.LabelView.design({ | |
}) | |
}) | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment