diff --git a/Sources/Linaris/AlbumPage.xaml b/Sources/Linaris/AlbumPage.xaml index 885c584..5001f62 100644 --- a/Sources/Linaris/AlbumPage.xaml +++ b/Sources/Linaris/AlbumPage.xaml @@ -4,9 +4,10 @@ x:Class="Linaris.AlbumPage" xmlns:local="clr-namespace:Linaris" xmlns:avatarview="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core" - Title="Album"> + Title="Album" + Style="{StaticResource PageFlyoutTrigger}"> - + diff --git a/Sources/Linaris/App.xaml.cs b/Sources/Linaris/App.xaml.cs index 4d72640..8aa73c9 100644 --- a/Sources/Linaris/App.xaml.cs +++ b/Sources/Linaris/App.xaml.cs @@ -8,4 +8,25 @@ public partial class App : Application MainPage = new AppShell(); } + + protected override Window CreateWindow(IActivationState activationState) + { + var Window = base.CreateWindow(activationState); + + const int newHeight = 900; + const int newWidth = 1800; + const int minHeight = 800; + const int minWidth = 400; + + Window.X = 0; + Window.Y = 100; + + Window.Width = newWidth; + Window.Height = newHeight; + + Window.MinimumHeight = minHeight; + Window.MinimumWidth = minWidth; + + return Window; + } } diff --git a/Sources/Linaris/AppShell.xaml b/Sources/Linaris/AppShell.xaml index 25406ec..9107359 100644 --- a/Sources/Linaris/AppShell.xaml +++ b/Sources/Linaris/AppShell.xaml @@ -4,12 +4,31 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Linaris" - Shell.FlyoutBehavior="Disabled"> + Shell.FlyoutBehavior="Flyout" + FlyoutWidth="200"> - + + + + + + + + + + + diff --git a/Sources/Linaris/FooterPage.xaml b/Sources/Linaris/FooterPage.xaml index 8397b17..4fd3123 100644 --- a/Sources/Linaris/FooterPage.xaml +++ b/Sources/Linaris/FooterPage.xaml @@ -3,48 +3,44 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Linaris.FooterPage"> - + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - + diff --git a/Sources/Linaris/LocalFilesPage.xaml b/Sources/Linaris/LocalFilesPage.xaml index b22caac..fbc46ca 100644 --- a/Sources/Linaris/LocalFilesPage.xaml +++ b/Sources/Linaris/LocalFilesPage.xaml @@ -5,8 +5,9 @@ xmlns:control="clr-namespace:Syncfusion.Maui.ProgressBar;assembly=Syncfusion.Maui.ProgressBar" xmlns:sliders="clr-namespace:Syncfusion.Maui.Sliders;assembly=Syncfusion.Maui.Sliders" xmlns:local="clr-namespace:Linaris" - Title="LocalFilesPage"> - + Title="LocalFilesPage" + Style="{StaticResource PageFlyoutTrigger}"> + diff --git a/Sources/Linaris/MainPage.xaml b/Sources/Linaris/MainPage.xaml index 357480b..f9a4c27 100644 --- a/Sources/Linaris/MainPage.xaml +++ b/Sources/Linaris/MainPage.xaml @@ -3,16 +3,17 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Linaris" x:Class="Linaris.MainPage" - Title="Home"> - - + Title="Home" + Style="{StaticResource PageFlyoutTrigger}"> + + - + diff --git a/Sources/Linaris/PlaylistPage.xaml b/Sources/Linaris/PlaylistPage.xaml index 6ba6553..b5ed7e4 100644 --- a/Sources/Linaris/PlaylistPage.xaml +++ b/Sources/Linaris/PlaylistPage.xaml @@ -4,8 +4,9 @@ xmlns:local="clr-namespace:Linaris" x:Class="Linaris.PlaylistPage" xmlns:avatarview="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core" - Title="PlaylistPage"> - + Title="PlaylistPage" + Style="{StaticResource PageFlyoutTrigger}"> + diff --git a/Sources/Linaris/PlaylistsPage.xaml b/Sources/Linaris/PlaylistsPage.xaml index b1c910d..3daca11 100644 --- a/Sources/Linaris/PlaylistsPage.xaml +++ b/Sources/Linaris/PlaylistsPage.xaml @@ -3,9 +3,10 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Linaris" x:Class="Linaris.PlaylistsPage" - Title="PlaylistsPage"> + Title="PlaylistsPage" + Style="{StaticResource PageFlyoutTrigger}"> - + diff --git a/Sources/Linaris/Resources/Images/fichierslocaux.png b/Sources/Linaris/Resources/Images/fichierslocaux.png new file mode 100644 index 0000000..c3baf68 Binary files /dev/null and b/Sources/Linaris/Resources/Images/fichierslocaux.png differ diff --git a/Sources/Linaris/Resources/Images/home.png b/Sources/Linaris/Resources/Images/home.png new file mode 100644 index 0000000..ea06425 Binary files /dev/null and b/Sources/Linaris/Resources/Images/home.png differ diff --git a/Sources/Linaris/Resources/Images/playlist.png b/Sources/Linaris/Resources/Images/playlist.png new file mode 100644 index 0000000..5cd5998 Binary files /dev/null and b/Sources/Linaris/Resources/Images/playlist.png differ diff --git a/Sources/Linaris/Resources/Styles/Styles.xaml b/Sources/Linaris/Resources/Styles/Styles.xaml index 4d38df9..597fbae 100644 --- a/Sources/Linaris/Resources/Styles/Styles.xaml +++ b/Sources/Linaris/Resources/Styles/Styles.xaml @@ -7,38 +7,24 @@ xmlns:local="clr-namespace:Linaris" xmlns:test="local:LocalFilesPage"> + + - - - - + +