# pad

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/final_markdown/_rows/pad)

Return the row's parts with its fill drawn out to `width` cells.

## Signature

```python
pad(
    row: Row,
    width: int,
) -> tuple[tuple[Content, bool | None], ...]
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/6a8d452d70f9bcb978e6bd44831dda093ecbe928/libs/code/deepagents_code/tui/widgets/final_markdown/_rows.py#L100)