code: func (c *Checkbox) Draw(screen tcell.Screen) {
  	c.Box.Draw(screen)
  
  	// Prepare
  	x, y, width, height := c.GetInnerRect()
  	rightLimit := x + width
  	if height < 1 || rightLimit <= x {
  		return
  	}
  
  	// Draw label.
  	if c.labelWidth > 0 {
  		labelWidth := c.labelWidth
  		if labelWidth > rightLimit-x {
  			labelWidth = rightLimit - x
  		}
  		Print(screen, c.label, x, y, labelWidth, AlignLeft, c.labelColor)
  		x += labelWidth
  	} else {
  		_, drawnWidth := Print(screen, c.label, x, y, rightLimit-x, AlignLeft, c.labelColor)
  		x += drawnWidth
  	}
  
  	// Draw checkbox.
  	fieldStyle := tcell.StyleDefault.Background(c.fieldBackgroundColor).Foreground(c.fieldTextColor)
  	if c.focus.HasFocus() {
  		fieldStyle = fieldStyle.Background(c.fieldTextColor).Foreground(c.fieldBackgroundColor)
  	}
  	checkedRune := 'X'
  	if !c.checked {
  		checkedRune = ' '
  	}
  	screen.SetContent(x, y, checkedRune, nil, fieldStyle)
  }
docs: // Draw draws this primitive onto the screen.