public function setPadding($padding) { $this->padding = $padding; $this->calculateContentWidth(); return $this; }