mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #285] Feature request: Add 'alignment' for "textbox" of Json template #1270
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LeftPinkie on GitHub (Apr 6, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/285
Originally assigned to: @nlimper on GitHub.
In the Json template, please add "alignment" attribute to the "textbox" object like it has for "text". For example:
@nlimper commented on GitHub (Nov 3, 2024):
What's your usecase? IMHO, a paragraph text should (almost) always be left aligned.
For headlines etc, you can use "text" which can be left/center/right alinged.
@LeftPinkie commented on GitHub (Nov 3, 2024):
If I have a multi-line description, I would like to have it wrap and align center or right.
@nlimper commented on GitHub (Dec 10, 2024):
Done! (in
30812dff49){ "textbox": [x, y, w, h, "text", "fontname", color, line height, alignment] }0: left, 1: center, 2: right