tinymce.ui.GridLayout

This layout manager places controls in a grid.

Settings

name type summary defined by
alignH String start|end|center|stretch or array of values for each column. tinymce.ui.GridLayout
alignV String start|end|center|stretch or array of values for each column. tinymce.ui.GridLayout
columns Number Number of columns to use. tinymce.ui.GridLayout
pack String start|end tinymce.ui.GridLayout
spacing Number Spacing between controls. tinymce.ui.GridLayout
spacingH Number Horizontal spacing between controls. tinymce.ui.GridLayout
spacingV Number Vertical spacing between controls. tinymce.ui.GridLayout

Constructors

name summary defined by
Layout() Constructs a layout instance with the specified settings. tinymce.ui.Layout

Methods

name summary defined by
postRender() This method gets invoked after the layout renders the controls. tinymce.ui.Layout
preRender() This method gets invoked before the layout renders the controls. tinymce.ui.Layout
recalc() Recalculates the positions of the controls in the specified container. tinymce.ui.GridLayout
renderHtml() Renders the specified container and any layout specific HTML. tinymce.ui.AbsoluteLayout

Constructors

Layout

public constructor function Layout(settings:Object)

Constructs a layout instance with the specified settings.

Parameters

Methods

postRender

postRender(container:tinymce.ui.Container)

This method gets invoked after the layout renders the controls.

Parameters

preRender

preRender(container:tinymce.ui.Container)

This method gets invoked before the layout renders the controls.

Parameters

recalc

recalc(container:tinymce.ui.Container)

Recalculates the positions of the controls in the specified container.

Parameters

renderHtml

renderHtml(container:tinymce.ui.Container)

Renders the specified container and any layout specific HTML.

Parameters

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.