add enum ElementType in SetHeightDialog