mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Issue 3232: Clean up Air Wing Configuration Dialogue Box (#3377)
Set default size of Air Wing Configuration Dialogue Box so that a whole squadron can be seen, addressing #3232 Make some UI elements smaller so that the Dialogue Box does not take too much screen real estate and works on smaller monitors.
This commit is contained in:
parent
dc3d1b0b5b
commit
4c5d968dd7
@ -285,6 +285,7 @@ class SquadronConfigurationBox(QGroupBox):
|
||||
)
|
||||
self.player_list.setAcceptRichText(False)
|
||||
self.player_list.setEnabled(squadron.player and squadron.aircraft.flyable)
|
||||
self.player_list.setMaximumHeight(125)
|
||||
left_column.addWidget(self.player_list)
|
||||
|
||||
button_row = QHBoxLayout()
|
||||
@ -664,7 +665,7 @@ class OverfullAirbasesDisplay(QGroupBox):
|
||||
parent: QWidget | None = None,
|
||||
) -> None:
|
||||
super().__init__("Overfull airbases", parent)
|
||||
self.setMaximumHeight(200)
|
||||
self.setMaximumHeight(125)
|
||||
|
||||
self.parking_tracker = parking_tracker
|
||||
self.parking_tracker.allocation_changed.connect(self.on_allocation_changed)
|
||||
@ -790,7 +791,7 @@ class AirWingConfigurationDialog(QDialog):
|
||||
self.game = game
|
||||
self.parking_tracker = AirWingConfigParkingTracker(game)
|
||||
|
||||
self.setMinimumSize(1024, 768)
|
||||
self.resize(1024, 900)
|
||||
self.setWindowTitle(f"Air Wing Configuration")
|
||||
# TODO: self.setWindowIcon()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user