Set a better height
Use a QMap to store the ElementInfos, since it's ordered by key