From 378c25799f9da4e393619439776d2e5af69d389e Mon Sep 17 00:00:00 2001 From: Dawn Date: Mon, 17 Aug 2026 14:15:38 +0200 Subject: [PATCH] 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 --- src/aare/gui/panels/tell_sample_panel.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/aare/gui/panels/tell_sample_panel.py b/src/aare/gui/panels/tell_sample_panel.py index f811f02c..59f8a3db 100644 --- a/src/aare/gui/panels/tell_sample_panel.py +++ b/src/aare/gui/panels/tell_sample_panel.py @@ -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)