Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_WindowsInstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pip install $(python -c "import glob; print(' '.join(glob.glob('wheels/*cp313*.whl')))")
pip install Cython
pip install numpy==2.2.6
pip install Pyside6==6.9.1
pip install Pyside6==6.8.3
pip install h5py
pip install fisx
pip install hdf5plugin
Expand Down
6 changes: 4 additions & 2 deletions src/PyMca5/PyMcaGui/pymca/PyMcaMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,12 @@
if __name__ == "__main__":
sys.excepthook = qt.exceptionHandler

# To avoid "Dark mode"; this force main windows to be light (but not all submenus)
if sys.platform == 'win32':
# To avoid "Dark mode"; this force main windows to be light (but not all submenus)
_ = os.environ.setdefault("QT_QPA_PLATFORM", "windows:darkmode=0")

# minimal fix for matplotlib fonts when Windows scale (DPI) is not 100%
_ = os.environ["QT_ENABLE_HIGHDPI_SCALING"] = "0"

app = qt.QApplication(sys.argv)

# To avoid "Dark mode"; without this part some menus will be still dark
Expand Down