Open jhaake2308 opened 2 years ago
The text blocks are actually doing exactly what they are supposed to do. The font & size you've chosen can't render in the space provided in the layout so epdlib displays as many full words as it can, then shows the ellipses glyph "..." To indicate the text overflows the space. The top left field is one word and too large in the x dimension to display so it just gives an ellipses
I should document this better.
The TextBlock layout type tries to calculate the maximum size for text given the max lines value, x & y dimensions and font. You are simply running out of x space.
There are a few solutions that you can mix and match to get the look you want:
On Waveshare 6" (HD), I am using the default rotation of "0" (hence widescreen horizontal), all is good:
If I change the rotation to 90 (vertical, cable up !caution, with the 6" WS HD!) this happens:
my layout:
Fiddling around with the height = 0.22 is working (taking it down to e.g. 0.12), but not intended as height of 0.22 is good for layout-style horizontal. So is there a way to define different font sizing if using other rotation options than mentioned? Any help is highly appreciated!
Thank you BR Julius