Closed pladams9 closed 4 years ago
Current thought on correcting this: use Pillow to create an image for each cell's text, and display that as an image
item on the canvas.
Another question to be answered: how should cut off text be displayed?
...
),#####
),
Broken resize preview lines
This is happening because the cell text for each cell is a
label
in awindow
. Windows are drawn above everything on acanvas
.Cell text should be changed to use a
text
canvas item so that it works like other canvas items. A the same time, text items should only be created for cells that have text in them. This might speed things up some (both using less items and not using full label widgets).Label widgets and windows were used originally to allow the label to easily be cut off to a specific square. A new way will need to be worked out... possibly just reducing the number of characters in each text item based on size.
Originally posted by @pladams9 in https://github.com/pladams9/hexsheets/pull/42#issuecomment-640319122