mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-10 10: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.setWindowIcon(QIcon('launcher_icon.ico')) # Set window icon
|
||||||
self.setGeometry(100, 100, 400, 250)
|
self.setGeometry(100, 100, 400, 250)
|
||||||
|
|
||||||
# Set application style to "Fusion" for consistent appearance
|
# Set application style to Oxygen
|
||||||
QApplication.setStyle("Fusion")
|
QApplication.setStyle("oxygen")
|
||||||
|
|
||||||
# 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)
|
|
||||||
|
|
||||||
# Create title label
|
# Create title label
|
||||||
title_label = QLabel('PicoDulce Launcher') # Change label text
|
title_label = QLabel('PicoDulce Launcher') # Change label text
|
||||||
|
Loading…
Reference in New Issue
Block a user