DCS 2.9.5 Support (including F-4)

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
Co-authored-by: Starfire13 <72491792+Starfire13@users.noreply.github.com>
This commit is contained in:
zhexu14
2024-06-02 22:18:11 +10:00
committed by GitHub
parent 99bbdc3e77
commit d905f0cf7f
54 changed files with 1630 additions and 25 deletions

View File

@@ -127,6 +127,12 @@ class QFlightPayloadTab(QFrame):
scrolling_layout.addWidget(docsText)
self.setLayout(layout)
# Increase width of tab when there are long loadout names. Add 50px to loadout selector
# to account for padding around the selector.
width = max(
self.sizeHint().width(), self.loadout_selector.sizeHint().width() + 50
)
self.setMinimumWidth(width)
def resize_for_flight(self) -> None:
self.member_selector.setMaximum(self.flight.count - 1)