     @updateContentHeight()
     @updateHeight()
     @updateContentWidth()
+    @updateScrollbarDimensions()
 
     @updateHeightState()
     @updateVerticalScrollState()

      @updateCursorsState() unless oldScrollLeft?

  setHorizontalScrollbarHeight: (horizontalScrollbarHeight) ->
    unless @horizontalScrollbarHeight is horizontalScrollbarHeight
      oldHorizontalScrollbarHeight = @horizontalScrollbarHeight
      @horizontalScrollbarHeight = horizontalScrollbarHeight
      @model.setHorizontalScrollbarHeight(horizontalScrollbarHeight)
      @updateScrollbarsState()
      @updateVerticalScrollState()
      @updateCursorsState() unless oldHorizontalScrollbarHeight?

  setVerticalScrollbarWidth: (verticalScrollbarWidth) ->
    unless @verticalScrollbarWidth is verticalScrollbarWidth
      oldVerticalScrollbarWidth = @verticalScrollbarWidth
      @verticalScrollbarWidth = verticalScrollbarWidth
      @model.setVerticalScrollbarWidth(verticalScrollbarWidth)
      @updateScrollbarsState()
      @updateHorizontalScrollState()
      @updateCursorsState() unless oldVerticalScrollbarWidth?


  updateHeight: ->
    @height = @explicitHeight ? @contentHeight
    @updateScrollbarDimensions()

  setContentFrameWidth: (contentFrameWidth) ->
    unless @contentFrameWidth is contentFrameWidth
      oldContentFrameWidth = @contentFrameWidth
      @contentFrameWidth = contentFrameWidth
      @model.setWidth(contentFrameWidth)
      @updateScrollbarDimensions()
      @updateVerticalScrollState()
      @updateHorizontalScrollState()
      @updateScrollbarsState()
