marticliment / win32mica

Win32mica: a simple module to add the Mica effect on legacy python windows.
https://pypi.org/project/win32mica
MIT License
95 stars 5 forks source link

How to disable blur? #14

Closed Fire-Cube closed 1 year ago

Fire-Cube commented 1 year ago

How can I unblur a PySide6 window?

marticliment commented 1 year ago

You can just set a non-transparent background.

Let's say:

to enable blur:

ApplyMica(...)
window.setStyleSheet("background-color: transparent;")

to disable blur:

window.setStyleSheet("background-color: #fafafa;")

to re-enable blur:

window.setStyleSheet("background-color: transparent;")
marticliment commented 1 year ago

Did this help?