adjusting menu text according to shape type