Is your feature request related to a problem? Please describe.
I like the idea to render extend into the title bar and keep the system chrome alive with the Min/ Max/ Close buttons. Then I would like to place content like Tabs into the TitleBar. the issue I have is, that I cannot now how much space I have to reserve for the system window Buttons or on which side they are (I think on Mac they are on a different side then for Windows)
Describe the solution you'd like
A property on the Window which tells me where some reserved space is, for example:
ReservedSpace[] ReservedSpaces = new ReservedSpace[]
{
new ReservedSpace (width: 75, height: 20, Position: Position.TopRight)
};
Describe alternatives you've considered
- Hardcode these properties
- Use custom buttons, but I learned that this is not a good idea, especially on Linux
Additional context
See also: https://docs.avaloniaui.net/tutorials/music-store-app/creating-a-modern-looking-window
/cc @danwalmsley @ahopper this is a follow-up issue from our discussion on telegram.
Happy coding
Tim
Is your feature request related to a problem? Please describe.
I like the idea to render extend into the title bar and keep the system chrome alive with the Min/ Max/ Close buttons. Then I would like to place content like Tabs into the TitleBar. the issue I have is, that I cannot now how much space I have to reserve for the system window Buttons or on which side they are (I think on Mac they are on a different side then for Windows)
Describe the solution you'd like
A property on the Window which tells me where some reserved space is, for example:
Describe alternatives you've considered
Additional context
See also: https://docs.avaloniaui.net/tutorials/music-store-app/creating-a-modern-looking-window
/cc @danwalmsley @ahopper this is a follow-up issue from our discussion on telegram.
Happy coding
Tim