fix(hud): add missing kills and globals layout definitions
This commit is contained in:
parent
7c38b398f3
commit
445d0bb6f3
|
|
@ -327,8 +327,26 @@ class HUDOverlay(QWidget):
|
|||
layout.addLayout(row0)
|
||||
|
||||
# === STATS GRID ===
|
||||
# Row 1: Damage & Kills
|
||||
# Row 1: Damage & Kills & Globals
|
||||
row1 = QHBoxLayout()
|
||||
|
||||
# Kills
|
||||
kills_layout = QVBoxLayout()
|
||||
kills_label = QLabel("💀 KILLS")
|
||||
kills_label.setStyleSheet("font-size: 10px; color: #888888;")
|
||||
kills_layout.addWidget(kills_label)
|
||||
|
||||
self.kills_value_label = QLabel("0")
|
||||
self.kills_value_label.setStyleSheet("font-size: 14px; font-weight: bold; color: #FFFFFF;")
|
||||
kills_layout.addWidget(self.kills_value_label)
|
||||
|
||||
row1.addLayout(kills_layout)
|
||||
row1.addStretch()
|
||||
|
||||
# Globals/HoFs
|
||||
globals_layout = QVBoxLayout()
|
||||
globals_label = QLabel("🌍 GLOBALS")
|
||||
globals_label.setStyleSheet("font-size: 10px; color: #888888;")
|
||||
globals_layout.addWidget(globals_label)
|
||||
|
||||
self.globals_value_label = QLabel("0 / 0")
|
||||
|
|
@ -336,6 +354,7 @@ class HUDOverlay(QWidget):
|
|||
globals_layout.addWidget(self.globals_value_label)
|
||||
|
||||
row1.addLayout(globals_layout)
|
||||
row1.addStretch()
|
||||
|
||||
layout.addLayout(row1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue