From 0c83e632ed8be17a504fa50daaa9e332aff544e3 Mon Sep 17 00:00:00 2001 From: seraphima Date: Thu, 20 Jun 2024 11:28:56 +0200 Subject: [PATCH] changed "no projects" text color and position --- src/modules/Projects/ProjectsEditor/MainPage.xaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/Projects/ProjectsEditor/MainPage.xaml b/src/modules/Projects/ProjectsEditor/MainPage.xaml index db408db7b4..131fbd876e 100644 --- a/src/modules/Projects/ProjectsEditor/MainPage.xaml +++ b/src/modules/Projects/ProjectsEditor/MainPage.xaml @@ -158,8 +158,10 @@ Grid.Row="2" Text="{Binding EmptyProjectsViewMessage, UpdateSourceTrigger=PropertyChanged}" FontSize="20" - Foreground="{DynamicResource PrimaryForegroundBrush}" - Margin="40,40,40,40" + Foreground="{DynamicResource SecondaryForegroundBrush}" + TextAlignment="Center" + HorizontalAlignment="Center" + VerticalAlignment="Center" Visibility="{Binding IsProjectsViewEmpty, Mode=OneWay, Converter={StaticResource BoolToVis}, UpdateSourceTrigger=PropertyChanged}"/>