Calculates the minimum required width and height of the receiver’s menu item.
- macOS 10.0+
The calculated values are cached for future use. This method also calculates the sizes of individual components of the cell’s menu item and caches those values.
This method is invoked automatically when necessary. You should not need to invoke it directly.