fixed expansion of qtextedit widget