     @emit "SplitPanelCreated", panel
     return panel
 
-  _calculatePanelBounds:->
-    @panelsBounds = for size,i in @sizes
-      if i is 0
-        0
-      else
-        offset = 0
-        for prevSize in [0...i]
-          offset += @sizes[prevSize]
-        offset
 
   _putPanels:->
     for panel in @panels


    return resizer

  _repositionResizers:->
    resizer._setOffset @panelsBounds[i+1] for resizer,i in @resizers

  # PUT VIEWS
  _putViews:->

      if @getOptions().colored
        panel.$().css backgroundColor : KD.utils.getRandomRGB()




  _panelIsBeingDestroyed:(panel)->

