Remove border from table without removing border from cells
I'm tearing my hair out here trying to figure out how to remove the outside border from a table without removing the borders from cells. If I do the following,
QTextTableFormat tableFormat;
tableFormat.setBorder(0);
then ALL of the borders are removed, the cell borders included.
My goal is to get a nice single-pixel black line around each of the cells. Is there an elegant way to do this?
Thanks for your help!
Re: Remove border from table without removing border from cells
Hi,
I am facing same problem.
Did you find any solution for this ?
Re: Remove border from table without removing border from cells
Won't this work?
Code:
tableWidget
->setFrameShape
(QFrame::NoFrame);