tareqimbasher / NetPad

A cross-platform C# editor and playground.
MIT License
1.25k stars 66 forks source link

macOS Window Conventions #82

Closed daviddotcs closed 9 months ago

daviddotcs commented 1 year ago

On macOS, the close, minimise, and maximise buttons appear on the left side of a window's title bar, and menu items appear within the system menu bar rather than within the application's window. It'd be great if NetPad could be made to feel more at-home on macOS by following these conventions.

Image: NetPad above and VS Code below

Thanks for making this though, it's a very useful utility :)

tareqimbasher commented 1 year ago

Yeah I agree. This is definitely something I'm planning to address. The plan is to keep the native window chrome and window controls but also integrate the menu bar with the title bar on Windows and Linux to utilize as much vertical space towards editing. On macOS, the menu will be moved to the native menu on the very top.

I gave it a quick attempt a while back but I quickly realized its something that I'll need to be a bit careful with for it to work properly in a cross-platform way. Keeping vertical real-estate as a priority, I settled on having a uniform title bar on all platforms in the meantime.

In the short term, or maybe as an alternate solution, I could introduce a couple settings:

Thank you for your support! I'm really glad you like the project and, more importantly, finding it useful :smiley:

tareqimbasher commented 10 months ago

107 introduces a number of settings now:

This will go out with the next release.

tareqimbasher commented 9 months ago

Closing with publish of new v0.6.0 release.