mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-04 07:28:56 +01:00
Update picodulce.py
This commit is contained in:
parent
c1225e4a6d
commit
705d09d271
11
picodulce.py
11
picodulce.py
@ -19,15 +19,8 @@ class PicomcVersionSelector(QWidget):
|
||||
self.setWindowIcon(QIcon('launcher_icon.ico')) # Set window icon
|
||||
self.setGeometry(100, 100, 400, 250)
|
||||
|
||||
# Set application style to "Fusion" for consistent appearance
|
||||
QApplication.setStyle("Fusion")
|
||||
|
||||
# Set Fusion dark style if running on Windows
|
||||
if sys.platform.startswith('win'):
|
||||
palette = QApplication.palette()
|
||||
palette.setColor(QApplication.Window, Qt.white)
|
||||
palette.setColor(QApplication.BackgroundRole, Qt.white)
|
||||
QApplication.setPalette(palette)
|
||||
# Set application style to Oxygen
|
||||
QApplication.setStyle("oxygen")
|
||||
|
||||
# Create title label
|
||||
title_label = QLabel('PicoDulce Launcher') # Change label text
|
||||
|
Loading…
Reference in New Issue
Block a user