public function recalculate_width()
    {
        $width = 0;

        foreach ($this->get_frames() as $frame) {
            $width += $frame->calculate_auto_width();
        }

        return $this->w = $width;
    }
public function recalculate_width()
    {
        $width = 0;

        foreach ($this->get_frames() as $frame) {
            $width += $frame->calculate_auto_width();
        }

        return $this->w = $width;
    }
public function recalculate_width ( ) { $ width = 0 ; foreach ( $ this -> get_frames ( ) as $ frame ) { $ width += $ frame -> calculate_auto_width ( ) ; } return $ this -> w = $ width ; }
Recalculate LineBox width based on the contained frames total width.

@return float
Recalculate LineBox width based on the contained frames total width .