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. Styling QScrollBar to enable Chrome like Look'n'Feel
Qt 6.11 is out! See what's new in the release blog

Styling QScrollBar to enable Chrome like Look'n'Feel

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 553 Views 2 Watching
  • 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.
  • A Offline
    A Offline
    ajaxcrypto
    wrote on last edited by
    #1

    Here is an example of Chrome's scrollbar:

    0_1505496890560_scroll.png

    How to style scrollbars (both horizontal/vertical) through out application so that they look identical/similar ?

    I can set qApp->setStyleSheet(...) to style it through out the application I suppose.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Yes via stylesheet and qApp->setStyleSheet(...)

      http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar

      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