Instance Property

size

The size of the menu in screen coordinates

Declaration

@property(readonly) NSSize size;

Discussion

This property contains a value of type NSSize, indicating the size of the menu in screen coordinates.

The menu may draw at a smaller size when shown, depending on its positioning and display configuration.

See Also

Configuring Menu Size

minimumWidth

The minimum width of the menu in screen coordinates.

- sizeToFit

Resizes the menu to exactly fit its items.

Deprecated