Page 1 of 1

Compare contents - line appearance

Posted: 2022-06-20, 20:11 UTC
by Damel
Please change this actual appearance:
00000: 00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00 |................................ (last 2 not fully visible)
to this (removed 2 spaces, 1st after ":" and 2nd before the last "|")):
00000:00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00|00 00 00 00 00 00 00 00|................................

Why? On 1920 monitors, there isn't enough space for 1 and half of the last characters (default font); with this small change, it will be all visible without horizontal scrolling.

Forget if 1920 monitors don't have a significant %, having 32 bytes per line is just convenient.

Re: Compare contents - line appearance

Posted: 2022-06-21, 07:07 UTC
by ghisler(Author)
This will not help for larger files (the current position will have more digits). Just try a different font or font size.

Re: Compare contents - line appearance

Posted: 2022-06-21, 08:19 UTC
by Damel
I see, I'm sorry and thank you for your answer.

Re: Compare contents - line appearance

Posted: 2022-06-21, 11:12 UTC
by Usher
ghisler(Author) wrote: 2022-06-21, 07:07 UTCJust try a different font or font size.
It doesn't help. You can't see the last character even with horizontal scrolling - it's always hidden under the vertical scrollbar. Don't forget that in older Windows (XP etc.) scrollbars are wide (16 pix) enough to hide 2 characters or 1 character and a space. It looks like some size miscalculation for the pane elements.

Currently I can switch layout to "above each other" or use Ubuntu Mono 9pt.

BTW. "Compare by content" window saves its layout state. The button for arrangement switching has misleading tooltip, which is valid for the default state only:
1492="Vertical arrangement"
The TC Help is also misleading:
"Show the two windows above each other"

It should be something like:
1492="Vertical/horizontal arrangement"
and
Change arrangement of the two windows from "above each other" to "side by side" or vice versa

Re: Compare contents - line appearance

Posted: 2022-06-22, 07:33 UTC
by ghisler(Author)
You seem to be right about the slight miscalculation: I checked the formula, and the vertical line was not counted. Also there should be at least one space behind the last character. I will change it.