Packet list bytes text character cursor is misaligned
When pointing to the text characters the text cursor (thin line box around character) is misaligned.
Steps to reproduce
Open a capture in Wireshark, in the packet bytes pane point the mouse cursor to a character in the text representation on the right hand side. Carefully look at the thin line surrounding the currently pointed to character.
What is the current bug behavior?
The text cursor is offset to the left.
What is the expected correct behavior?
The text cursor properly envelopes the pointed to character.
Sample capture file
Any capture file will do.
Relevant logs and/or screenshots
3.5.0 (v3.5.0rc0-163-g7906a2f6a8de) Compiled (64-bit) with Qt 5.15.1, with libpcap, with POSIX capabilities (Linux), with libnl 3, with GLib 2.66.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.16.1, with Lua 5.2.4, with GnuTLS 3.6.15 and PKCS #11 support, with Gcrypt 1.8.7, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.41.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.10, with QtMultimedia, without automatic updates, with SpeexDSP (using system library). Running on Linux 5.9.0-1-amd64, with Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (with SSE4.2), with 15958 MB of physical memory, with locale LC_CTYPE=en_US.UTF-8, LC_NUMERIC=nl_NL.UTF-8, LC_TIME=nl_NL.UTF-8, LC_COLLATE=nl_NL.UTF-8, LC_MONETARY=nl_NL.UTF-8, LC_MESSAGES=en_US.UTF-8, LC_PAPER=en_US.UTF-8, LC_NAME=en_US.UTF-8, LC_ADDRESS=en_US.UTF-8, LC_TELEPHONE=en_US.UTF-8, LC_MEASUREMENT=nl_NL.UTF-8, LC_IDENTIFICATION=en_US.UTF-8, with light display mode, without HiDPI, with libpcap version 1.9.1 (with TPACKET_V3), with GnuTLS 3.6.15, with Gcrypt 1.8.7, with brotli 1.0.9, with zlib 1.2.11, binary plugins supported (19 loaded). Built using gcc 10.2.0.