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. Stylesheet Scrollbar Fusion Corners
Forum Updated to NodeBB v4.3 + New Features

Stylesheet Scrollbar Fusion Corners

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 912 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.
  • EmrecpE Offline
    EmrecpE Offline
    Emrecp
    wrote on last edited by
    #1

    Hi,
    ScrollbarCorners.png
    As you see, there is corners in Fusion mode.

    Ui File: Ui File

    Stylesheet: ```
    QScrollBar{
    background-color:transparent;
    border:0px solid transparent;
    background:none;}
    QScrollBar:vertical {
    background: rgb(52, 59, 72);
    width: 20px;
    margin: 2px 0px 2px 5px;
    border-radius: 7px;
    border:0px solid transparent; }
    QScrollBar::handle:vertical { background: rgb(0,200,200);
    min-height: 25px;
    border-radius: 7px;
    border:0px solid transparent; }
    QScrollBar::add-line:vertical {
    border: none;
    border:0px solid transparent;
    background: rgb(55, 63, 77);
    height: 0px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;}
    QScrollBar::sub-line:vertical {
    border: none;
    border:0px solid transparent;
    background: rgb(55, 63, 77);
    height: 0px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    subcontrol-position: top;
    subcontrol-origin: margin;}
    QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
    background: none;
    border:0px solid transparent; }
    QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: none;
    border:0px solid transparent; }
    QScrollBar:horizontal {
    border: none;
    background: rgb(52, 59, 72);
    height: 20px;
    margin: 2px 0px 2px 5px;
    border-radius: 7px;
    border:0px solid transparent;}
    QScrollBar::handle:horizontal {
    background: rgb(0,200,200);
    min-width: 25px;
    border:0px solid transparent;
    border:none;
    border-radius: 7px}
    QScrollBar::add-line:horizontal {
    border: none;
    background: rgb(55, 63, 77);
    width: 0px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    subcontrol-position: right;
    subcontrol-origin: margin;}
    QScrollBar::sub-line:horizontal {
    border: none;
    background: rgb(55, 63, 77);
    width: 0px;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    subcontrol-position: left;
    subcontrol-origin: margin;}
    QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal
    {
    background: none;}
    QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
    {
    background: none;}

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Don't think this is possible except patching the fusion style.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        And what's your actual question?

        btw: please use the code-tags to make your code more readable to others.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        0
        • EmrecpE Offline
          EmrecpE Offline
          Emrecp
          wrote on last edited by
          #3

          I want to hide scrollbars corners( or borders, i marked in picture) in Fusion style.

          They showing on Fusion style, not normal style.

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Don't think this is possible except patching the fusion style.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            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