I came across this issue with a project. The border around an QTextEdit or QPlainTextEdit gets cut when a scrollbar appears.
At first i thought it was faulty QSS, but later i googled that this was an (unresolved) bug

https://bugreports.qt.nokia.com/browse/QTBUG-20672

Is there any way around this bug/issue?