pyapp-kit / superqt

Missing widgets and components for Qt-python
https://pyapp-kit.github.io/superqt/
BSD 3-Clause "New" or "Revised" License
210 stars 38 forks source link

QRangeSlider is not displayed correctly #129

Closed pascalzeugin closed 2 years ago

pascalzeugin commented 2 years ago

Description When enabling a stylesheet (https://pypi.org/project/pyqtdarktheme/) the QRangeSlider and all its derivatives are not rendered/displayed correctly.

To Reproduce Steps to reproduce the behavior:

  1. Install pyqtdarktheme version 1.1.0
  2. Install qtpy
  3. Install superqt
  4. Execute minimal example
from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication
from superqt import QRangeSlider
import qdarktheme

app = QApplication([])
app.setStyleSheet(qdarktheme.load_stylesheet())
slider = QRangeSlider(Qt.Orientation.Horizontal)
slider.setValue((20, 80))
slider.show()

app.exec_()

Expected behavior Correct rendering of the widget

Desktop (please complete the following information):

tlambert03 commented 2 years ago

yes, sorry this is a known issue, and a duplicate of issue #58

to keep things in one place, i'm going to close this issue and refer others to that one