I have a table that uses tabularx with some p columns and some X columns. In the p columns I manually added line breaks. Everything is fine except the fact that the vertical lines that divide the columns from each other are broken at the places where I added the line breaks. What is the best way to fix this? This MWE shows the problem:
\documentclass[xcolor=dvipsnames, mode=presentation]{beamer}
\usepackage{tabularx}
\begin{document}
\begin{frame}
\frametitle{Results}
\begin{columns} \column{\dimexpr\paperwidth-10pt} \scriptsize
\begin{tabularx}{\textwidth}{|p{0.24\textwidth}|p{0.09\textwidth}|X|X|p{0.09\textwidth}|X|X|}
\hline
\textbf{settings} & some result & some result & some result & some result & some result & some result \\ \hline
\textbf{cat1:} bla & 1 & 1 & 1 & 1 & 1 & 1 \\ \hline
\textbf{cat1:} lala & 1 & 1 & 1 & 1 & 1 & 1 \\ \hline
\textbf{cat1:} bla,\\ \textbf{cat2:} some value & 1 & 1 & 1 & 1 & 1 & 1 \\ \hline
\textbf{cat1:} bla,\\ \textbf{cat2:} some value,\\ \textbf{cat3:} other value & 1 & 1 & 1 & 1 & 1 & 1 \\ \hline
\end{tabularx}
\end{columns}
\end{frame}
\end{document}