mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
menu bar and info panel spacing
This commit is contained in:
@@ -34,7 +34,7 @@ class QTopPanel(QFrame):
|
||||
|
||||
self.proceedButton = QPushButton("Mission Planning")
|
||||
self.proceedButton.setIcon(CONST.ICONS["Proceed"])
|
||||
self.proceedButton.setProperty("style", "btn-primary")
|
||||
self.proceedButton.setProperty("style", "btn-success")
|
||||
self.proceedButton.clicked.connect(self.proceed)
|
||||
if self.game and self.game.turn == 0:
|
||||
self.proceedButton.setEnabled(False)
|
||||
|
||||
@@ -22,7 +22,7 @@ class QInfoPanel(QGroupBox):
|
||||
layout = QVBoxLayout()
|
||||
layout.addWidget(self.informations_list)
|
||||
layout.setSpacing(0)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.setContentsMargins(0, 20, 0, 0)
|
||||
self.setLayout(layout)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user