About-This-Hack icon indicating copy to clipboard operation
About-This-Hack copied to clipboard

Long descriptions cut-off when exceeding the width of the window border

Open 5T33Z0 opened this issue 1 year ago • 3 comments

Hi,

I've noticed that the description of an entry is cut-off when it exceeds the border of the window:

Bildschirmfoto 2025-01-10 um 05 42 28

The actual description is: "MacBook Pro (13-Inch, 2018, Four Thunderbolt 3 Ports) – MacBookPro15,2"

Maybe you can insert a break when text is close to the border of the window or make the width of the window adjust to the text.

Greetings

5T33Z0 avatar Jan 10 '25 05:01 5T33Z0

@5T33Z0 I don't see the window width as useful for accommodating long strings (aesthetically, it would be a too wide window for most cases) or break lines (because other elements would have to be repositioned). But it could be a solution to have the text that doesn't fit be displayed like in those cells or boxes where, when you place the mouse over it, you see the entire string.

perez987 avatar Jan 11 '25 20:01 perez987

Hi, It is possible, done for a long time

Image

Image

Regards

matxpa avatar Jan 31 '25 14:01 matxpa

Well that's not the point. The point was to make the displayed text look professional – I think, everybody having one look at the screenshot would agree, that having text running off the edge of a window without margin and wrap-around does look everything but professional. I am surprised that I have to argue over something so obvious.

Anyway: just making the window flexible in size while keeping the tabs centered would easily fix this issue

5T33Z0 avatar Jan 31 '25 17:01 5T33Z0

I fixed this in ddd91e2 for now by removing the "MacX,Y" text if the length of the string is too long.

0xCUB3 avatar May 18 '25 10:05 0xCUB3