Skip to content

Keep DX cluster columns aligned for long callsigns - #1150

Open
SAY-5 wants to merge 1 commit into
ea4k:masterfrom
SAY-5:dxcluster-fixed-columns
Open

SAY-5 wants to merge 1 commit into
ea4k:masterfrom
SAY-5:dxcluster-fixed-columns

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 13, 2026

Copy link
Copy Markdown

printSpot() widened the DX call and spotter fields on rows with a long callsign, so the frequency, comment and time columns of that one row shifted out of line with the rest of the list. Both fields now use the same fixed width on every row, and a callsign that does not fit just overflows its own field, as suggested in the issue.

Added a test to tst_dxcluster that prints a spot for a short call and one for a 13 character call and checks the comment starts in the same column.

Fixes #1142

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DXCluster: spot list shows misaligned columns due to per-row dynamic padding

1 participant