StackLayout.js 621 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * StackLayout.js
  3. *
  4. * Copyright, Moxiecode Systems AB
  5. * Released under LGPL License.
  6. *
  7. * License: http://www.tinymce.com/license
  8. * Contributing: http://www.tinymce.com/contributing
  9. */
  10. /**
  11. * This layout uses the browsers layout when the items are blocks.
  12. *
  13. * @-x-less StackLayout.less
  14. * @class tinymce.ui.StackLayout
  15. * @extends tinymce.ui.FlowLayout
  16. */
  17. define("tinymce/ui/StackLayout", [
  18. "tinymce/ui/FlowLayout"
  19. ], function(FlowLayout) {
  20. "use strict";
  21. return FlowLayout.extend({
  22. Defaults: {
  23. containerClass: 'stack-layout',
  24. controlClass: 'stack-layout-item',
  25. endClass : 'break'
  26. }
  27. });
  28. });