1 // ========================================================================== 2 // Project: SproutCore - JavaScript Application Framework 3 // Copyright: ©2006-2011 Strobe Inc. and contributors. 4 // Portions ©2008-2011 Apple Inc. All rights reserved. 5 // License: Licensed under MIT license (see license.js) 6 // ========================================================================== 7 8 9 sc_require('designers/view_designer'); 10 sc_require('mixins/button'); 11 12 SC.ButtonView.Designer = SC.ViewDesigner.extend( SC.Button.Designer, 13 /** @scope SC.ButtonView.Designer.prototype */ { 14 15 encodeChildViews: NO, 16 17 designProperties: ['theme', 'buttonBehavior', 'href', 'isDefault'], 18 19 canResizeVertical: NO, 20 21 canResizeHorizontal: YES 22 23 });