Sha256: 9921ba8bea0f65a8b2577842aafbcb6adaca94afcb5e31259672064d17ce0f0c

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
//            Portions ©2008-2010 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

/*globals TestControls Forms*/
TestControls.progressPage = SC.View.design({
  childViews: "form".w(),
  form: SC.FormView.design({
    classNames: ["sample_controls"],
    layout: { left: 20, top: 40, right: 20, bottom: 40 },
    
    childViews: "header normal disabled".w(),
    
    header: SC.LabelView.design({
      layout: { width: 250, height: 18 },
      value: "Progress Bars",
      classNames: "header".w()
    }),

    normal: SC.FormView.row(SC.ProgressView.design({
      layout: { height: 20, width: 200 }
    })),

    disabled: SC.FormView.row(SC.ProgressView.design({
      layout: { height: 20, width: 200 },
      isEnabled: NO
    }))
  })
});

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/apps/test_controls/resources/progress_page.js
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/apps/test_controls/resources/progress_page.js
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/apps/test_controls/resources/progress_page.js