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. QAbstractView scroll arrow background color stylesheet?

QAbstractView scroll arrow background color stylesheet?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 273 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.
  • E Offline
    E Offline
    evankirkiles
    wrote on last edited by
    #1

    I have a QComboBox with a large range of options. For some reason, this combobox appears differently in two places despite having the exact same QStringList from which the choices come. While one appears with all the options, one only shows some of them and also displays these very ugly scroll arrows on the sides of the QAbstractView. I
    m wondering if I can change the color of these, or even better, remove them for free scrolling. I honestly doubt that I can change their appearance through the stylesheet because they seem to be linked to the MacOS system (when I go into Mojave dark mode, the bright white background turns darker grey). Thus, is there any way to disable the scroll arrows on a QAbstractView in a similar way to disabling scroll bars in a QScrollView? Screenshots: (1st is desired appearance, 2nd is ugly one, both in same application but different windows).

    0_1535778784011_Screen Shot 2018-09-01 at 1.08.51 AM.png

    0_1535778791332_Screen Shot 2018-09-01 at 1.09.06 AM.png

    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