diff --git a/GreadyPoang/Resources/Styles/AppStyles.xaml b/GreadyPoang/Resources/Styles/AppStyles.xaml
index d8471f9..e297278 100644
--- a/GreadyPoang/Resources/Styles/AppStyles.xaml
+++ b/GreadyPoang/Resources/Styles/AppStyles.xaml
@@ -4,6 +4,26 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
+
+
-
+
-
+
-
+
+
\ No newline at end of file
diff --git a/GreadyPoang/Views/ParticipantListView.xaml b/GreadyPoang/Views/ParticipantListView.xaml
index 80a3e73..121ef2e 100644
--- a/GreadyPoang/Views/ParticipantListView.xaml
+++ b/GreadyPoang/Views/ParticipantListView.xaml
@@ -21,37 +21,42 @@
ViewTitle="Deltagare"
ViewDescription="Lägg till deltagare här" />
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
@@ -21,30 +24,34 @@
ViewTitle="Starta en Spelrunda"
ViewDescription="Välj deltagare och initiera spel" />
-
-
+
+
-
-
-
-
+
+
+
-
-
-
+
+
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/GreadyPoang/Views/RoundStartingView.xaml.cs b/GreadyPoang/Views/RoundStartingView.xaml.cs
index c3cd261..7e13819 100644
--- a/GreadyPoang/Views/RoundStartingView.xaml.cs
+++ b/GreadyPoang/Views/RoundStartingView.xaml.cs
@@ -23,6 +23,21 @@ public partial class RoundStartingView : ContentPage
ViewModel.GetParticipants();
}
+ protected override void OnSizeAllocated(double width, double height)
+ {
+ base.OnSizeAllocated(width, height);
+
+ if (width < 500)
+ {
+ VisualStateManager.GoToState(ResponsiveStack, "Narrow");
+ System.Diagnostics.Debug.WriteLine($"width={width} ResponsiveStack=Narrow ");
+ }
+ else
+ {
+ VisualStateManager.GoToState(ResponsiveStack, "Wide");
+ System.Diagnostics.Debug.WriteLine($"width={width} ResponsiveStack=Wide ");
+ }
+ }
}
\ No newline at end of file