Fix barely visible text in the Intel box

This commit is contained in:
Paul Dockar 2022-10-17 16:35:28 +11:00 committed by Dan Albert
parent 75b19a5f06
commit 202dbb6259
2 changed files with 2 additions and 9 deletions

View File

@ -41,15 +41,6 @@ class QIntelBox(QGroupBox):
self.economic_strength = QLabel() self.economic_strength = QLabel()
summary.addWidget(self.economic_strength, 2, 1) summary.addWidget(self.economic_strength, 2, 1)
# some dirty styling to make the labels show up well on the button
button_text_style = "background-color: rgba(0,0,0,0%); color: white;"
air_superiority.setStyleSheet(button_text_style)
front_line.setStyleSheet(button_text_style)
economy.setStyleSheet(button_text_style)
self.air_strength.setStyleSheet(button_text_style)
self.ground_strength.setStyleSheet(button_text_style)
self.economic_strength.setStyleSheet(button_text_style)
self.details = QPushButton() self.details = QPushButton()
self.details.setMinimumHeight(50) self.details.setMinimumHeight(50)
self.details.setMinimumWidth(210) self.details.setMinimumWidth(210)

View File

@ -618,6 +618,8 @@ QGroupBox[style="IntelSummary"] QLabel {
margin: 0px; margin: 0px;
font-size: 9px; font-size: 9px;
line-height: 9px; line-height: 9px;
color: #fff;
background: transparent;
} }
QCalendarWidget QCalendarWidget