Sha256: d56b28de786121d3c705149891340a17ef49ce9b9f41d3615c04050a540fd04b

Contents?: true

Size: 981 Bytes

Versions: 4

Compression:

Stored size: 981 Bytes

Contents

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


/**
  Border between the two panes of the MasterDetail.

  Note that the border does NOT include any space on the sides. Space
  on left or right sides of MasterDetail, if any, should be handled by
  its layout.
 */
SC.BaseTheme.MASTER_DETAIL_DIVIDER_WIDTH = 1;

SC.BaseTheme.masterDetailRenderDelegate = SC.RenderDelegate.create({
  name: 'master-detail',
  
  render: function(dataSource, context) {
    context.setClass('round-toolbars', SC.platform.touch);
  },
  
  update: function(dataSource, jquery) {
    jquery.setClass('round-toolbars', SC.platform.touch);    
  }
  
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sproutcore-1.5.0-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.rc.2 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.rc.1 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js