Can't you use horizontalAllignment=stretch?