I've been looking into what my different options are as far as drawing a simple 2px black outline around my QTextEdit. What would be the best way?
Drawing an outline separate from QTextEdit with the same string of text and sync-ing them up?
Somehow using insertHtml to give it an outline? Some other way I have not realized is possible?
As far as using something like QPainter, I'm pretty sure that should be possible somehow but I don't know where to start to make it draw 2 pixels going out the edges of the font.
Here is an example of what the end product should look like, to avoid confusion with borders. Just a simple white text with a black outline
example.png
Bookmarks