Fixed width calculation of flexible menu