diff --git a/src/TerminalObject/Dynamic/Checkbox/Checkbox.php b/src/TerminalObject/Dynamic/Checkbox/Checkbox.php
index <HASH>..<HASH> 100644
--- a/src/TerminalObject/Dynamic/Checkbox/Checkbox.php
+++ b/src/TerminalObject/Dynamic/Checkbox/Checkbox.php
@@ -174,6 +174,9 @@ class Checkbox
     protected function getPaddingString($line)
     {
         $length = $this->util->width() - $this->lengthWithoutTags($line);
+        if ($length < 1) {
+            return '';
+        }
 
         return str_repeat(' ', $length);
     }
Don't try add padding if the there's no spare space