Open otuva opened 1 year ago
Hi I'm working on aligning the text. Thanks for porting this to the new Tensorflow. It works great.
What I would like to see is ability to set a fixed width and have it word wrap. I will likely work on that a bit but if anyone has any thoughts or code I would be grateful.
What I would like to see is ability to set a fixed width and have it word wrap. I will likely work on that a bit but if anyone has any thoughts or code I would be grateful.
You can take average width of lines per character, and when a word exceeds the preset view width, it can break to a new line. It can have variable border spacing also by this logic. I might work on this perhaps
hand._draw.py
need to change
for text align (
enum
could be used: left, center, right)for dimensions