4 * Copyright, Moxiecode Systems AB
5 * Released under LGPL License.
7 * License: http://www.tinymce.com/license
8 * Contributing: http://www.tinymce.com/contributing
12 * This layout manager will place the controls by using the browsers native layout.
14 * @-x-less FlowLayout.less
15 * @class tinymce.ui.FlowLayout
16 * @extends tinymce.ui.Layout
18 define("tinymce/ui/FlowLayout", [
21 return Layout.extend({
23 containerClass: 'flow-layout',
24 controlClass: 'flow-layout-item',
29 * Recalculates the positions of the controls in the specified container.
32 * @param {tinymce.ui.Container} container Container instance to recalc.
34 recalc: function(container) {
35 container.items().filter(':visible').each(function(ctrl) {