Important changes to Tiny Cloud pricing > Find out more

tinymce.ui.StackLayout

This layout uses the browsers layout when the items are blocks.

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.FlowLayout
renderHtml() Renders the specified container and any layout specific HTML. tinymce.ui.Layout

Constructors

Layout

public constructor function Layout(settings:Object)

Constructs a layout instance with the specified settings.

Parameters
  • settings (Object) - Name/value object with settings.

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.