PIXEL icon indicating copy to clipboard operation
PIXEL copied to clipboard

[Suggestion] Give us control over line breaking

Open NeoTechni opened this issue 4 years ago • 1 comments

The automatic line breaking doesn't make very good use of the space it has available to it, often leaving lines with lots of empty space.

I would suggest letting us use a line break character (ie %13) that disables the automatic line breaking

As well as letting us set the font size to 0, and having it automatically select the biggest font size that will fit all text on screen For when line breaks are used, it'd have to calculate that font size for each line, then pick the smallest one of them

NeoTechni avatar May 18 '21 02:05 NeoTechni

Ok, this was really hard to work out, but I came up with a simple method to do this in my program

You currently use some method to split text into X lines How I did it, was if any breaklines are detected, it takes all but the last line and stores them in a variable It then subtracts the number of breaklines+1 from the number of desired lines Then only use that method to split the final line, into the remaining number of lines

NeoTechni avatar May 25 '21 23:05 NeoTechni