To set a maximum column width, I use `varwidth` as suggested by [this answer](https://tex.stackexchange.com/a/4712/71109). However, the vertical padding is only correct for single line cells, and is too little for multiline ones. Minimal example:

```
\documentclass{article}

\usepackage{varwidth}
\usepackage{array}

\newcolumntype{M}{>{\begin{varwidth}{1cm}}l<{\end{varwidth}}}

\begin{document}

\begin{tabular}{|M|c|}
    \hline
     asdf      & \\ \hline
     asdf asdf & \\ \hline
\end{tabular}

\end{document}

```

This results is:

[![enter image description here](https://i.stack.imgur.com/y3B9L.png)](https://i.stack.imgur.com/y3B9L.png)

I tried to use `varwidth` inside the cells (instead of defining a new column type with the array package), but this yielded the same result:

```
\documentclass{article}

\usepackage{varwidth}

\begin{document}

\begin{tabular}{|c|c|}
    \hline
     \begin{varwidth}{1cm}asdf     \end{varwidth} & \\ \hline
     \begin{varwidth}{1cm}asdf asdf\end{varwidth} & \\ \hline
\end{tabular}

\end{document}

```

I also tried adding `\par` or double newlines to the cells, but none of my attempts resulted in proper vertical padding. Adding manual `vspace`s also did not work.

Is there a way to guarantee the same vertical padding for both single and multiline cells?