tinymce.full.js
function () {
        var i;

        ReflowQueue.remove(this);

        if (this.visible()) {
          Control.repaintControls = [];
          Control.repaintControls.map = {};

          this.recalc();
          i = Control.repaintControls.length;

          while (i--) {
            Control.repaintControls[i].repaint();
          }

          // TODO: Fix me!
          if (this.settings.layout !== "flow" && this.settings.layout !== "stack") {
            this.repaint();
          }

          Control.repaintControls = [];
        }

        return this;
      }
function () {
        var i;

        ReflowQueue.remove(this);

        if (this.visible()) {
          Control.repaintControls = [];
          Control.repaintControls.map = {};

          this.recalc();
          i = Control.repaintControls.length;

          while (i--) {
            Control.repaintControls[i].repaint();
          }

          // TODO: Fix me!
          if (this.settings.layout !== "flow" && this.settings.layout !== "stack") {
            this.repaint();
          }

          Control.repaintControls = [];
        }

        return this;
      }
function ( ) { var i ; ReflowQueue . remove ( this ) ; if ( this . visible ( ) ) { Control . repaintControls = [ ] ; Control . repaintControls . map = { } ; this . recalc ( ) ; i = Control . repaintControls . length ; while ( i -- ) { Control . repaintControls [ i ] . repaint ( ) ; } // TODO: Fix me! if ( this . settings . layout !== "flow" && this . settings . layout !== "stack" ) { this . repaint ( ) ; } Control . repaintControls = [ ] ; } return this ; }
Reflows the current container and it's children and possible parents.
This should be used after you for example append children to the current control so
that the layout managers know that they need to reposition everything.

@example
container.append({type: 'button', text: 'My button'}).reflow();

@method reflow
@return {tinymce.ui.Container} Current container instance.
Reflows the current container and it s children and possible parents . This should be used after you for example append children to the current control so that the layout managers know that they need to reposition everything .