Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent lines when hovering over icons #2

Open
Daniel-Fernandez-951 opened this issue Aug 22, 2021 · 2 comments
Open

Transparent lines when hovering over icons #2

Daniel-Fernandez-951 opened this issue Aug 22, 2021 · 2 comments

Comments

@Daniel-Fernandez-951
Copy link

Daniel-Fernandez-951 commented Aug 22, 2021

onedark_issue_df

When hovering over icons (both left and top right), intersecting transparent lines appear.

No changes were made to the code, running within a virtual Python 3.9 environment with Pyside6 (6.1.2), shiboken6 (6.1.2) on macOS Big Sur Version 11.4.

@pramach
Copy link

pramach commented Oct 26, 2021

Same here
Python 3.9, PySide 6.2.0, OSX Big Sur 11.6

@fjl-gj
Copy link

fjl-gj commented Jan 12, 2022

Different monitors have different DPI. Try the following methods

in main.py file

os.environ["QT_FONT_DPI"] = "96"

try get dpi
and adjustment "QT_FONT_DPI" value

app = QApplication(sys.argv)
dpi = app.primaryScreen().logicalDotsPerInch()
os.environ["QT_FONT_DPI"] = str(int(dpi))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants