public function getChildContentWidth(Kwf_Component_Data $data, Kwf_Component_Data $child)
    {
        $ret = $this->getContentWidth($data);
        if ($this->_hasSetting('contentWidthSubtract')) {
            $ret -= $this->_getSetting('contentWidthSubtract');
        }
        return $ret;
    }
public function getChildContentWidth(Kwf_Component_Data $data, Kwf_Component_Data $child)
    {
        $ret = $this->getContentWidth($data);
        if ($this->_hasSetting('contentWidthSubtract')) {
            $ret -= $this->_getSetting('contentWidthSubtract');
        }
        return $ret;
    }
public function getChildContentWidth ( Kwf_Component_Data $ data , Kwf_Component_Data $ child ) { $ ret = $ this -> getContentWidth ( $ data ) ; if ( $ this -> _hasSetting ( 'contentWidthSubtract' ) ) { $ ret -= $ this -> _getSetting ( 'contentWidthSubtract' ) ; } return $ ret ; }
Returns the contentWidth of a given child

Can be overridden to adapt the available child width

Use 'contentWidthSubtract' setting to subtract a fixed amount
from getContentWidth() value

@return int
Returns the contentWidth of a given child