Why Lister may show horizontal scroll with wrap text?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Why Lister may show horizontal scroll with wrap text?

Post by *DrShark »

There's the sample archive with 2 text files:

For desktop_1.ini TC shows horizontal scrollbar even with wrap text option on.
For desktop_2.ini TC doesn't show horizontal scroll bar.

I sent desktop_1.ini file to Christian some time ago asking why horizontal scrollbar appears for it even with word wrap on, and the reply was there's nothing bad if Lister shows the scrollbar anyway. As I understand it's not considered as a bug.

Still interesting to know why Lister shows horizontal scroll for some files, and even with Wrap text option on, and for other similar files Lister doesn't show it.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It depends on internal maximum width calculations whether a horizontal scrollbar will be shown or not.
Author of Total Commander
https://www.ghisler.com
Post Reply