Allow for changing the window width in StringModel

So you don’t have to recreate the models if the value changes
Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>