@@ -306,8 +306,8 @@ |
||
306 | 306 | public function setWidth(int $width) : self |
307 | 307 | { |
308 | 308 | $availableWidth = $this->terminal->getWidth() |
309 | - - ($this->margin * 2) |
|
310 | - - ($this->padding * 2) |
|
309 | + - ($this->margin*2) |
|
310 | + - ($this->padding*2) |
|
311 | 311 | - ($this->borderRightWidth + $this->borderLeftWidth); |
312 | 312 | |
313 | 313 | if ($width >= $availableWidth) { |