View Full Version : Weird 1px line in QScrollArea

15th December 2010, 23:02
I recently noticed that QScrollAarea has a 1px white line at the bottom of it, that can't be removed. I tried setting border to none and it keeps there.

You can test this really easy. Just create a new project, drag and drop any widget that contains a scroll area (a qtextedit for example), set it's background to black and the borders to none and observe that 1px annoying line.

How can I remove it?


Added after 10 minutes:

I found the solution. It was easier than I though. It's just setFrameShape(QFrame::NoFrame);