Results 1 to 1 of 1

Thread: Weird 1px line in QScrollArea

  1. #1
    Join Date
    Jul 2009
    Posts
    125
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    16

    Default Re: Weird 1px line in QScrollArea

    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?

    Thanks


    Added after 10 minutes:


    I found the solution. It was easier than I though. It's just setFrameShape(QFrame::NoFrame);
    Last edited by alexandernst; 15th December 2010 at 23:02.

Similar Threads

  1. Replies: 3
    Last Post: 13th August 2010, 12:50
  2. Image reading and writing line by line
    By Astrologer in forum Qt Programming
    Replies: 7
    Last Post: 29th April 2010, 09:15
  3. Replies: 1
    Last Post: 21st November 2009, 09:29
  4. Almost reading QImage line by line, help me please.
    By newqtuser in forum Qt Programming
    Replies: 4
    Last Post: 18th July 2008, 15:22
  5. Replies: 2
    Last Post: 10th March 2008, 21:16

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.