CrossPlatform Control's.Top Strategy for including wrapped menubar

I have some windows that are relatively small, and I have a menubar that not go across the window in a single line but will have to have 2 lines.
I would like suggestions to design my windows for cross platform use. The IDE doesn’t include the menubar. On Windows the menubar is in the window and on Mac it isn’t. I would guess the IDE accounts for this. It doesn’t account if the menubar is wrapped.
Finally, the height is not mentioned. What is it?
How can I do this?
The first image is from the IDE, and the 2nd is the built version

2nd

On macOS, all menubar items are located in the top menubar line, even the ones that are linked to the current window.

Since 1984 :wink:

You will need to create a custom control - ContainerControl with a Canvas comes quickly to mind.