Based on the micromagnetic model which takes into account the random distribution of the uniaxial magnetic anisotropy directions in crystallites of a nanocrystalline film, an effective method has been implemented for calculation of the magnetization dynamics in microwave fields. For a certain range of crystallite sizes, when the energy of the random magnetic anisotropy is comparable to the exchange energy, a significant change of the ferromagnetic resonance field, broadening of the resonance line, and the appearance of an asymmetry in the shape of the resonance curve were found. With an increase of the crystallite sizes, the resonance field first grows, then, it quickly decreases to its minimum, and then, it grows again to reach saturation. In this case, the steepness of the left slope of the broadening resonance curve first decreases faster than that of the right slope, leading to the symmetry breaking of the resonance curve shape, then, the curve becomes symmetrical again, and then, the steepness of the left slope becomes greater than that of the right slope.