code: function _updateLayout(event, viewAreaHeight, forceRefresh) {
          var available;
  
          if (_orientation === VERTICAL) {
              available = _$el.innerWidth();
          } else {
              available = _$el.innerHeight();
          }
  
          _.forEach(_panes, function (pane) {
              // For VERTICAL orientation, we set the second pane to be width: auto
              //  so that it resizes to fill the available space in the containing div
              // unfortunately, that doesn't work in the HORIZONTAL orientation so we
              //  must update the height and convert it into a percentage
              if (pane.id === SECOND_PANE && _orientation === HORIZONTAL) {
                  var percentage = ((_panes[FIRST_PANE].$el.height() + 1) / available);
                  pane.$el.css("height", 100 - (percentage * 100) + "%");
              }
  
              _synchronizePaneSize(pane, forceRefresh);
          });
      }
docs: Event handler for "workspaceUpdateLayout" to update the layout
  @param {jQuery.Event} event - jQuery event object
  @param {number} viewAreaHeight - unused
  @param {boolean} forceRefresh - true to force a resize and refresh of the entire view
  @private