Sha256: a2069eca9003f4907a403fcd2c791e6e59b7a8b17779e01141b49c5b2e4a2503
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
// ========================================================================== // Project: Showcase // Copyright: @2012 Tyler Keating // ========================================================================== /*globals Showcase */ sc_require('system/views_item_content.js'); sc_require('views/views_list_view.js'); /** This pre-configured view demonstrates SC.WorkspaceView. */ Showcase.workspaceViews = SC.ScrollView.design({ contentView: Showcase.ViewsListView.design({ content: [ Showcase.ViewsItemContent.create({ title: 'Regular (Resize to change toolbar size)', example: "SC.WorkspaceView.extend({ autoResizeToolbars: true, classNames: ['my-workspace-view'], layout: { left: 20, right: 20, top: 20, bottom: 20 }, topToolbar: SC.ToolbarView.extend({ childViews: ['title'], layout: { height: 44 }, title: SC.LabelView.extend({ classNames: ['my-title-label'], controlSize: SC.LARGE_CONTROL_SIZE, layout: { width: 220, height: 24, centerX: 0, centerY: 0 }, value: 'Heading' }) }), bottomToolbar: SC.ToolbarView.extend({ anchorLocation: SC.ANCHOR_BOTTOM, childViews: ['title'], layout: { height: 44 }, title: SC.LabelView.extend({ classNames: ['my-title-label'], controlSize: SC.LARGE_CONTROL_SIZE, layout: { width: 220, height: 24, centerX: 0, centerY: 0 }, value: 'Footing' }) }), contentView: SC.LabelView.extend({ classNames: ['my-content-label'], value: 'Content' }) })" }) ], exampleHeight: 500 }) });
Version data entries
3 entries across 3 versions & 1 rubygems