PDA

View Full Version : QScrollBar up/down, left/right arrow customization



GUIDeveloper
2nd November 2018, 18:33
Hi all.

I'm attempting to customize scrollbars using stylesheets, following the stylesheet example in Qt's docs.

My scrollbar changes work fine but I end up getting dots instead of arrows for the add-line and sub-line controls,
as shown in the Qt docs examples. The examples don't talk about how to get the arrows back.

Any ideas what I need to do to get the arrows back?
I would like to get arrows that are not filled in.
I've attached a screenshot of what I want the arrows to look like.

Thank you for any help.

UI Developer

ChrisW67
3rd November 2018, 07:01
Any ideas what I need to do to get the arrows back?

Call setStyleSheet() with an empty string perhaps?