Page 1 of 1

Themes: Am I dumb or is this a bug?

Posted: Tue Sep 12, 2023 8:47 pm
by bokeron2020
Hi!

I'm using Windows 10 x64 and qBittorrent v4.5.5 lt20 qt6 x64.
I've been writing a simple theme and I've found a problem with QHeaderView.

Trying to diagnose what I was doing wrong I reduced the theme to an empty theme, that is, a theme that does nothing and only contains two entries that, apparently, cause the problem I've been trying to solve without any success so far.

Whenever I try to style something related to QHeaderView::up-arrow or QHeaderView::down-arrow a blank space appears just right of the header title.
The empty theme stylesheet.qss contains just this two entries:

Code: Select all

QHeaderView::up-arrow {
}

QHeaderView::down-arrow {
}

Well... this is the header without including those lines:
Image

And this is the result of including just those two lines:
Image


So... is this a bug or am I doing something wrong??



UPDATE: Not happening in qBittorrent v4.5.5 lt20 qt5 x64

Re: Themes: Am I dumb or is this a bug?

Posted: Tue Sep 19, 2023 10:29 am
by bokeron2020
I would answer you if I wasn't you.