style: move Unmeasured next to All, 1px gap between filter chips
Unmeasured and All are both 'what is left' views; the hand-applied labels (Queued/Flagged/Measured) follow. The 1px spacing keeps the chips readable as separate buttons instead of one solid bar. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -150,15 +150,18 @@ class TellSamplePanel(QFrame):
|
||||
# Left margin 0: "All" shares the table's left edge; bottom 0: the
|
||||
# row sits directly on the table.
|
||||
chip_row.setContentsMargins(0, 2, 6, 0)
|
||||
chip_row.setSpacing(0)
|
||||
# 1px gap so the chips read as separate buttons, not one solid bar.
|
||||
chip_row.setSpacing(1)
|
||||
self.status_chips = QButtonGroup(self)
|
||||
self.status_chips.setExclusive(True)
|
||||
for label, key in (
|
||||
("All", None),
|
||||
# Unmeasured next to All: both are "what is left" views, the
|
||||
# remaining chips are hand-applied labels.
|
||||
("Unmeasured", "unmeasured"),
|
||||
("Queued", "queued"),
|
||||
("Flagged", "flagged"),
|
||||
("Measured", "measured"),
|
||||
("Unmeasured", "unmeasured"),
|
||||
):
|
||||
if key == "queued":
|
||||
chip = QueueDropChip(label, self)
|
||||
|
||||
Reference in New Issue
Block a user