Prediction display issues for very long text
The largest compatible size search can fail if the predicted text is too long. In these cases, we should instead try to use multiple lines (that still fit in the allocated height of the line).
One possible library to do this is https://github.com/JamesPImes/piltextbox