Created
May 17, 2011 23:24
-
-
Save LuisSala/977646 to your computer and use it in GitHub Desktop.
SproutCore Toolbar with Label
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
topView: SC.ToolbarView.design({ | |
layout: { centerX: 0, centerY: 0, right:0, height:36 }, | |
childViews: 'lblTitle'.w(), | |
anchorLocation: SC.ANCHOR_TOP, | |
lblTitle: SC.LabelView.design({ | |
layout: {centerY: 0, height: 24, left: 8, width: 200}, | |
controlSize: SC.LARGE_CONTROL_SIZE, | |
fontWeight: SC.BOLD_WEIGHT, | |
value: 'News Reader' | |
}) // end lblTitle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment