fix horizontal alignment for titleLayout
When changing horizontal alignment (titleLayout) it glitches titleLayout width. This updates titleLayout width when titleALignment is changed (recalculates it) which fixes titleLayout having excessive width. This only happens if titleAlignment is changed in the app itself (when the app is running)
Edited by Matej Starc