Open
Description
currently, the text coordinate always is at the upper left of the text bounding box - obviously resulting in top-left aligned text.
For some use cases (especially when displaying numbers), right alignment would be a nice option to have.
For this, we could add a new alignment setting (similar to the way that colors are set) like set_text_align(mode)
. An open question here is whether the vertical alignment is also necessary or if left
, center
, right
are enough.
Tcl/Tk uses compass directions for this (see https://www.tcl.tk/man/tcl8.4/TkCmd/options.htm#M-anchor): n, ne, e, se, s, sw, w, nw, center
... that would be an option as well, but not sure if needed and if that would easily be adaptable for purr data and plugdata?
Metadata
Metadata
Assignees
Labels
No labels