Make deck header more compact with smaller fonts and tighter spacing
This commit is contained in:
parent
de973b2a0e
commit
740fa34f93
|
|
@ -708,17 +708,20 @@ class DeckWidget(QWidget):
|
|||
|
||||
# Header
|
||||
header = QHBoxLayout()
|
||||
header.setSpacing(8)
|
||||
header.setContentsMargins(0, 0, 0, 5)
|
||||
|
||||
title = QLabel(f"DECK {self.deck_id}")
|
||||
title.setStyleSheet(f"""
|
||||
font-family: 'Orbitron';
|
||||
font-size: 16px;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: rgb({self.color.red()}, {self.color.green()}, {self.color.blue()});
|
||||
""")
|
||||
header.addWidget(title)
|
||||
|
||||
self.track_label = QLabel("NO TRACK LOADED")
|
||||
self.track_label.setStyleSheet("color: #888; font-size: 12px;")
|
||||
self.track_label.setStyleSheet("color: #888; font-size: 11px;")
|
||||
header.addWidget(self.track_label, 1)
|
||||
layout.addLayout(header)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue