diff --git a/StarterNG/App.axaml b/StarterNG/App.axaml index a347f53..8105cd8 100644 --- a/StarterNG/App.axaml +++ b/StarterNG/App.axaml @@ -1,6 +1,7 @@ @@ -10,6 +11,15 @@ + + + diff --git a/StarterNG/Assets/starter.ico b/StarterNG/Assets/starter.ico new file mode 100644 index 0000000..2008b76 Binary files /dev/null and b/StarterNG/Assets/starter.ico differ diff --git a/StarterNG/MainWindow.axaml b/StarterNG/MainWindow.axaml index 80decfc..b4cbe6e 100644 --- a/StarterNG/MainWindow.axaml +++ b/StarterNG/MainWindow.axaml @@ -9,11 +9,14 @@ xmlns:views="clr-namespace:StarterNG.Views" xmlns:starterNg="clr-namespace:StarterNG" Title="Starter MaSzyna" + Icon="/Assets/starter.ico" Width="1200" Height="768" MinWidth="1200" MinHeight="666" WindowStartupLocation="CenterScreen"> + standard minimise / maximise / close buttons stay in the top-right corner. + Extending the client area also makes Avalonia 12 add an extra full-screen caption + button; it is hidden in App.axaml via its WindowDecorationProperties.ElementRole. --> @@ -27,27 +30,24 @@ BorderThickness="0,0,0,1"> - - - - - + + + - - - + diff --git a/StarterNG/StarterNG.csproj b/StarterNG/StarterNG.csproj index 113db1b..0b0050e 100644 --- a/StarterNG/StarterNG.csproj +++ b/StarterNG/StarterNG.csproj @@ -8,6 +8,7 @@ enable true app.manifest + Assets\starter.ico true 1.2.0.4 1.2.0.4 @@ -48,6 +49,8 @@ + +