I'm trying to put an horizontal line in a QTextDocument
. I'm using HTML for the formatting. To draw the line I want, I naturally used the <hr />
tag. But the line is drawn gray and and I'd like to change its color to black.
The styles doesn't seem to apply on the hr
element, so is there a simple workaround to have horizontal black line in my document?
Thanks.