From 56c4e6883e5baea381fbecc4d57370de9b172fe8 Mon Sep 17 00:00:00 2001 From: TheXamlGuy Date: Wed, 10 Jan 2024 20:25:58 +0000 Subject: [PATCH] add seperator stying --- Hyperbar.Windows/App.xaml.cs | 2 +- Hyperbar.Windows/Views/WidgetContainerView.xaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Hyperbar.Windows/App.xaml.cs b/Hyperbar.Windows/App.xaml.cs index 149d2fe..5ddee42 100644 --- a/Hyperbar.Windows/App.xaml.cs +++ b/Hyperbar.Windows/App.xaml.cs @@ -59,7 +59,7 @@ public partial class App : IEnumerable viewModels) { yield return (WidgetContainerViewModel)ActivatorUtilities.CreateInstance(widgetContext.ServiceProvider, - typeof(WidgetContainerViewModel), viewModels, index % 2 == 0); + typeof(WidgetContainerViewModel), viewModels, index % 2 == 1); index++; } diff --git a/Hyperbar.Windows/Views/WidgetContainerView.xaml b/Hyperbar.Windows/Views/WidgetContainerView.xaml index 0eca26f..fcdc2a1 100644 --- a/Hyperbar.Windows/Views/WidgetContainerView.xaml +++ b/Hyperbar.Windows/Views/WidgetContainerView.xaml @@ -11,8 +11,9 @@ + Margin="6,8,6,8" + Fill="{ThemeResource DividerStrokeColorDefaultBrush}" + Visibility="{Binding Alternate}" />