Giter Club home page Giter Club logo

Comments (4)

fthmko avatar fthmko commented on June 8, 2024 3

Hello! So you are aware, I am still having this issue on macOS Catalina, Python 3.8 (checked on 3.9 as well) using PyQt5 5.15.7 and QDarkStyle 3.1. Same results if I downgrade to an earlier version of PyQt5 (5.12.3)

The generated qss content make this issue. I can't find out which line is wrong, but remove these sections will fix it.

QComboBox::indicator {
  border: none;
  border-radius: 0;
  background-color: transparent;
  selection-background-color: transparent;
  color: transparent;
  selection-color: transparent;
  /* Needed to remove indicator - fix #132 */
}
QComboBox::indicator:alternate {
  background: #FAFAFA;
}

This is my solution.

stylesheet = qdarkstyle.load_stylesheet(qt_api='pyside2')
stylesheet = re.sub(r'QComboBox::indicator([^}]|\n)+}', '', stylesheet, re.M)
app.setStyleSheet(stylesheet)

Set icon size of combox to 0 will looks better.

combo.setIconSize(QSize(0, 0))

from qdarkstylesheet.

ben-n93 avatar ben-n93 commented on June 8, 2024 1

Hi there, I have the same issue/question, however I am using Python/PyQt5.

from qdarkstylesheet.

glevner avatar glevner commented on June 8, 2024

We have the same issue with CentOS 7, Qt 5.12, QDarkStyle 3.0.2.

from qdarkstylesheet.

aPeter1 avatar aPeter1 commented on June 8, 2024

Hello! So you are aware, I am still having this issue on macOS Catalina, Python 3.8 (checked on 3.9 as well) using PyQt5 5.15.7 and QDarkStyle 3.1. Same results if I downgrade to an earlier version of PyQt5 (5.12.3)

from qdarkstylesheet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.