Created
December 3, 2009 16:01
-
-
Save lsiden/248262 to your computer and use it in GitHub Desktop.
This file contains 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
EccapCalc.mainPage = SC.Page.design({ | |
// The main pane is made visible on screen as soon as your app is loaded. | |
// Add childViews to this pane for views to display immediately on page | |
// load. | |
mainPane: SC.MainPane.design({ | |
childViews: 'scrollView'.w(), | |
scrollView: SC.ScrollView.design({ | |
contentView: SC.View.design({ | |
childViews: 'labelView assetsView incomeView expensesView'.w(), | |
labelView: SC.LabelView.design({ | |
layout: { left: 100, top: 0, height: 50}, | |
displayValue: 'Personal', | |
//fontWeight: SC.BOLD_WEIGHT, | |
tagName: 'h1', | |
}), | |
assetsView: EccapCalc.LedgerView(100, 100, 'EccapCalc.assetsLedgerController'), | |
incomeView: EccapCalc.LedgerView(100, 350, 'EccapCalc.incomeLedgerController'), | |
expensesView: EccapCalc.LedgerView(100, 600, 'EccapCalc.expensesLedgerController'), | |
}), | |
}), | |
}), | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment