remove top and bottom zone in QComboBox's QListView in android (Qt 6.4.2)
-
Hi Guys!
I build to android, and i have a QComboBox. There are more elements in QComboBox's QListView than can fit, that's why there is a scroll bar and you can scroll, Its okay. But you can see that there are two small line above and below with a triangle. I want to make these two bars disappear completely... any ideas? Thanks for the help!
-
Hello,
To remove the small lines with triangles (scroll indicators) above and below the scroll bar in your QComboBox’s QListView, you can customize the style of the scroll bar using a stylesheet. Here’s how you can do it:
Set the Scroll Bar Policy: Ensure that the scroll bar is set to always show or hide as needed.
Customize the Scroll Bar Style: Use a stylesheet to hide the scroll indicators.
Hope that helps.