changed autoSize type to Bool (issue #772)

Since there might be problems with different combinations of text
alignment and autosizing