Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. scrollarea background-color not working

scrollarea background-color not working

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 235 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    93e4c4c7-81a2-4203-80c4-9aca5eb86773-image.png

    I created the widget and put it in the scroll area. I changed it because I wanted to change the background color, but only the label changed and the rest of the colors didn't change. How can I change the background color?

    Pl45m4P 1 Reply Last reply
    0
    • I IknowQT

      93e4c4c7-81a2-4203-80c4-9aca5eb86773-image.png

      I created the widget and put it in the scroll area. I changed it because I wanted to change the background color, but only the label changed and the rest of the colors didn't change. How can I change the background color?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @IknowQT

      Have a look here:

      • https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved