When the SECATTR column is added to htop, it’s much wider in the actual table than in the header, which means that all the header columns following it are misaligned.
Security Attribute PID△USER NI VIRT RES SHR S CPU% MEM% TIME+ Command
? 1 root 0 161M 11780 8600 S 0.0 0.0 0:01.56 /usr/lib/systemd/systemd --switched-root --system --deserialize 31
? 681 root 0 126M 62724 61216 S 0.0 0.2 0:02.19 ├─ /usr/lib/systemd/systemd-journald

This also happens when the column is in another position, though I haven’t tested all possibilities.
PID△USER NI VIRT RES SHR Security Attribute S CPU% MEM% TIME+ Command
1 root 0 161M 11784 8600 ? S 0.0 0.0 0:01.56 /usr/lib/systemd/systemd --switched-root --system --deserialize 31

This could be just because I don’t use SELinux/AppArmor/etc. and there aren’t any attributes to show, I don’t know.
OS: Arch Linux
htop: 3.1.1, but issue discovered while testing #849, so probably still present in main
When the SECATTR column is added to htop, it’s much wider in the actual table than in the header, which means that all the header columns following it are misaligned.
This also happens when the column is in another position, though I haven’t tested all possibilities.
This could be just because I don’t use SELinux/AppArmor/etc. and there aren’t any attributes to show, I don’t know.
OS: Arch Linux
htop: 3.1.1, but issue discovered while testing #849, so probably still present in
main