Skip to content

Commit

Permalink
Set fusion qt style
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrolexa committed Dec 21, 2024
1 parent 856a45f commit af46d41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pypsbuilder/psbuilders.py
Original file line number Diff line number Diff line change
Expand Up @@ -5449,6 +5449,7 @@ def _rectangle_intersection_(x1, y1, x2, y2):

def ptbuilder():
application = QtWidgets.QApplication(sys.argv)
application.setStyle("Fusion")
window = PTBuilder()
desktop = QtGui.QGuiApplication.primaryScreen().availableGeometry()
width = (desktop.width() - window.width()) // 2
Expand All @@ -5460,6 +5461,7 @@ def ptbuilder():

def txbuilder():
application = QtWidgets.QApplication(sys.argv)
application.setStyle("Fusion")
window = TXBuilder()
desktop = QtGui.QGuiApplication.primaryScreen().availableGeometry()
width = (desktop.width() - window.width()) // 2
Expand All @@ -5471,6 +5473,7 @@ def txbuilder():

def pxbuilder():
application = QtWidgets.QApplication(sys.argv)
application.setStyle("Fusion")
window = PXBuilder()
desktop = QtGui.QGuiApplication.primaryScreen().availableGeometry()
width = (desktop.width() - window.width()) // 2
Expand Down

0 comments on commit af46d41

Please sign in to comment.