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. QTreeView: hide box in the corner
QtWS25 Last Chance

QTreeView: hide box in the corner

Scheduled Pinned Locked Moved Solved General and Desktop
qtreeviewqtdesigner
5 Posts 2 Posters 487 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.
  • F Offline
    F Offline
    Fire Cube
    wrote on 1 Dec 2022, 18:21 last edited by
    #1

    Hello Guys
    I'm trying to round off a QTreeView. Unfortunately it has an ugly box on the right in the corner. I would like to remove that. With this StyleSheet I round off the rest.

    QTreeView {
    	background-color: white;
    	border-width: 0px;
    	border-radius: 7px;
    }
    

    A photo so you know what I mean
    c85d5e99-fc49-4016-9896-aa2ff067d65f-image.png

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 1 Dec 2022, 19:41 last edited by
      #2

      the box is for scrollers since you have two. If it is removed, they will overlap.

      F 1 Reply Last reply 2 Dec 2022, 08:57
      0
      • J JoeCFD
        1 Dec 2022, 19:41

        the box is for scrollers since you have two. If it is removed, they will overlap.

        F Offline
        F Offline
        Fire Cube
        wrote on 2 Dec 2022, 08:57 last edited by
        #3

        @JoeCFD is it possible to round up this and change the color?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JoeCFD
          wrote on 2 Dec 2022, 15:27 last edited by
          #4

          https://stackoverflow.com/questions/5663837/customize-qscrollbar-intersection-using-stylesheet-qt/8226736

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Fire Cube
            wrote on 3 Dec 2022, 11:23 last edited by
            #5

            Many Thanks
            That worked great.

            1 Reply Last reply
            0

            4/5

            2 Dec 2022, 15:27

            • Login

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