fix(slices): align all VFO flags to same top (Top=35)

Slice flags (B+) were staggered by i*12 which barely helped with the
96px-tall card and looked untidy. Put every flag — main A and slices —
on one row. Overlap of near-frequency flags to be handled next (leader
lines).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 12:02:23 +03:00
co-authored by Claude Opus 4.8
parent a53c12b5aa
commit 3fbde19b9f
+2 -2
View File
@@ -5187,7 +5187,7 @@ begin
if NewLeft + OW > PbSpectrum.Width - 4 then if NewLeft + OW > PbSpectrum.Width - 4 then
NewLeft := FilterStartX - 6 - OW; NewLeft := FilterStartX - 6 - OW;
NewLeft := Max(4, Min(PbSpectrum.Width - OW - 4, NewLeft)); NewLeft := Max(4, Min(PbSpectrum.Width - OW - 4, NewLeft));
NewTop := 16; NewTop := 35;
if (FVfoOverlay.Left <> NewLeft) or (FVfoOverlay.Top <> NewTop) then if (FVfoOverlay.Left <> NewLeft) or (FVfoOverlay.Top <> NewTop) then
begin begin
FVfoOverlay.Left := NewLeft; FVfoOverlay.Left := NewLeft;
@@ -5532,7 +5532,7 @@ begin
NewLeft := FilterEndX + 6; NewLeft := FilterEndX + 6;
if NewLeft + OW > PbSpectrum.Width - 4 then NewLeft := FilterStartX - 6 - OW; if NewLeft + OW > PbSpectrum.Width - 4 then NewLeft := FilterStartX - 6 - OW;
NewLeft := Max(4, Min(PbSpectrum.Width - OW - 4, NewLeft)); NewLeft := Max(4, Min(PbSpectrum.Width - OW - 4, NewLeft));
NewTop := 16 + i * 12; // лёгкий вертикальный разнос, чтобы флаги не слипались NewTop := 35; // все флаги на одном уровне
if (O.Left <> NewLeft) or (O.Top <> NewTop) then if (O.Left <> NewLeft) or (O.Top <> NewTop) then
begin begin
O.Left := NewLeft; O.Left := NewLeft;