Results 1 to 7 of 7

Thread: QScrollArea misbehaving background style

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jul 2010
    Posts
    1
    Thanked 4 Times in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QScrollArea misbehaving background style

    You can change QScrollArea's background color by using QWidget .
    By using:
    Qt Code:
    To copy to clipboard, switch view to plain text mode 
    you can set the background color or text color etc.

    Ex:
    Qt Code:
    1. {
    2. background-color:white;
    3. color:black;
    4. }
    To copy to clipboard, switch view to plain text mode 

  2. The following 4 users say thank you to bekoturanci for this useful post:

    Cruz (27th April 2011), leninbooter (31st December 2011), RyanR (21st April 2021), zeFree (10th December 2011)

Similar Threads

  1. Background Style Disables QScrollBar "Drag" Action
    By brent99 in forum Qt Programming
    Replies: 1
    Last Post: 3rd June 2008, 20:16
  2. Transparent background Style
    By Lele in forum Qt Programming
    Replies: 5
    Last Post: 17th July 2006, 12:02

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.