mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-06 05:38:35 +01:00
Add window icon, make the title bar draggable and drop the full-screen caption button
Use the Starter icon for the window and the executable; the whole caption strip drags the window. Extending the client area makes Avalonia 12 add an extra full-screen toggle to the window chrome (which lives in its own host, so it is not reachable from the window's visual tree); it is hidden globally in App.axaml via its WindowDecorationProperties.ElementRole. Standard minimize / maximize / close are kept.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<ApplicationIcon>Assets\starter.ico</ApplicationIcon>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
<AssemblyVersion>1.2.0.4</AssemblyVersion>
|
||||
<FileVersion>1.2.0.4</FileVersion>
|
||||
@@ -48,6 +49,8 @@
|
||||
<AvaloniaResource Include="Assets\Logo\*.png" />
|
||||
<None Remove="Assets\Test\ep07p.bmp" />
|
||||
<AvaloniaResource Include="Assets\Test\ep07p.bmp" />
|
||||
<None Remove="Assets\starter.ico" />
|
||||
<AvaloniaResource Include="Assets\starter.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user