Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Changed styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoneiESS committed Jun 13, 2023
1 parent 7af08cf commit c7f9259
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
1 change: 1 addition & 0 deletions nexus-constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def closeEvent(self, event: QCloseEvent) -> None:
if "help" in parser.parse_args():
exit(0)
logging.basicConfig(level=logging.INFO)
QApplication.setStyle("Fusion")
QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
surfaceFormat = QSurfaceFormat()
surfaceFormat.setSwapInterval(1)
Expand Down
13 changes: 0 additions & 13 deletions ui/UI.md

This file was deleted.

2 changes: 1 addition & 1 deletion ui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.resize(1280, 720)
MainWindow.setStyleSheet("* {color: #000000;background-color: #999999;}")
# MainWindow.setStyleSheet("* {color: #000000;background-color: #999999;}") # style set instead in nexus-constructor.py:78:QApplication.setStyle("Fusion")
self.central_widget = QWidget(MainWindow)

self.splitter = QSplitter(self.central_widget)
Expand Down

0 comments on commit c7f9259

Please sign in to comment.