Alexhuszagh/BreezeStyleSheets

[QUESTION] Mismatching visual styles in the Gallery gif

felipefarinon opened this issue · 5 comments

Question

I've two differences in my application to the visual styles that appear in the gallery gif [1].

  1. The TreeWidget background in the gallery is white in the Light theme. But in my application it shows as grey.
  2. Several widgets in the Gallery show borders. But in my application, they don't have them.

Gallery:
image

Application:
image

[1] https://github.com/Alexhuszagh/BreezeStyleSheets/blob/main/assets/Breeze.gif

I'm assuming all the environment information provided is the same as before?

Qt version: 6
Theme: Dark and Light
OS: Windows 10

Exactly. That's my environment.

Can you provide more specific details? I've confirmed that this still works on my end with widgets.py.

The command I'm running from the repository root is:

python example/widgets.py --stylesheet dark --set-app-palette --pyqt6

2022-12-08 16_22_14-Sample BreezeStyleSheets application
2022-12-08 16_22_49-Sample BreezeStyleSheets application

The view is under Tab 2 on the right-hand tab widget. The widget itself here is a standard QTreeWidget, and I'm running both Qt5 and Qt6 under Windows 10. Likewise, the unittests are passing on my end:

py -3.9 test/ui.py --widget tree --stylesheet light
py -3.9 test/ui.py --widget editable_tree --stylesheet light

2022-12-08 16_26_30-Unittest for tree
2022-12-08 16_27_23-Unittest for editable_tree

I probably need a unittest for QTreeWidgetItem widgets with icons.

The behavior of your tests are the same I get with my application.

But the gif in the Gallery of the repo (https://github.com/Alexhuszagh/BreezeStyleSheets/blob/main/assets/Breeze.gif), has a white background for QTreeWidget instead of grey. So I was wondering which is the correct color.

Capture

Capture

Ah thank you, the image reflects a prior version and has since been updated. I'll add updated images to the gallery.