In PyQt5, I found that equal length strings with whitespaces have different final display length:
PyQt5
while the desired output shoul