protected function calculateContentWidth() : void
    {
        $this->contentWidth = $this->width
            - ($this->paddingLeftRight * 2)
            - ($this->borderRightWidth + $this->borderLeftWidth);

        if ($this->contentWidth < 0) {
            $this->contentWidth = 0;
        }
    }
protected function calculateContentWidth() : void
    {
        $this->contentWidth = $this->width
            - ($this->paddingLeftRight * 2)
            - ($this->borderRightWidth + $this->borderLeftWidth);

        if ($this->contentWidth < 0) {
            $this->contentWidth = 0;
        }
    }
protected function calculateContentWidth ( ) : void { $ this -> contentWidth = $ this -> width - ( $ this -> paddingLeftRight * 2 ) - ( $ this -> borderRightWidth + $ this -> borderLeftWidth ) ; if ( $ this -> contentWidth < 0 ) { $ this -> contentWidth = 0 ; } }
Calculate the contents width
Calculate the contents width