From 217ef04ff7882660241bd8772c5a68a4bb155bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= Date: Mon, 18 Apr 2022 13:08:55 +0200 Subject: [PATCH] Formatted MainWindow.axaml by XamlStyler --- .../FileTime.GuiApp/Views/MainWindow.axaml | 174 +++++++++++------- 1 file changed, 103 insertions(+), 71 deletions(-) diff --git a/src/GuiApp/Avalonia/FileTime.GuiApp/Views/MainWindow.axaml b/src/GuiApp/Avalonia/FileTime.GuiApp/Views/MainWindow.axaml index e9dd5dd..882d542 100644 --- a/src/GuiApp/Avalonia/FileTime.GuiApp/Views/MainWindow.axaml +++ b/src/GuiApp/Avalonia/FileTime.GuiApp/Views/MainWindow.axaml @@ -1,51 +1,65 @@ - + Title="FileTime" + d:DesignHeight="450" + d:DesignWidth="800" + x:CompileBindings="True" + x:DataType="vm:IMainWindowViewModelBase" + Background="Transparent" + ExtendClientAreaToDecorationsHint="True" + Icon="/Assets/filetime.ico" + InputElement.KeyDown="OnKeyDown" + Opened="OnWindowOpened" + TransparencyLevelHint="Blur" + mc:Ignorable="d"> - - + + - - - - - - - - - - + + + + + + + + + + - + @@ -54,26 +68,32 @@ - + - + + VerticalAlignment="Center" + Text="{Binding CurrentLocation^.Name}" /> - + @@ -85,69 +105,73 @@ + Fill="{DynamicResource ContentSeparatorBrush}" /> - + + Classes="LoadingAnimation" + Source="{SvgImage /Assets/loading.svg}" /> + ScrollViewer.VerticalScrollBarVisibility="Visible"> - + + IsVisible="{Binding AppState.SelectedTab^.CurrentLocation^.Items^.Count, Converter={StaticResource EqualityConverter}, ConverterParameter=0}"> Empty + Fill="{DynamicResource ContentSeparatorBrush}" /> + Items="{Binding AppState.SelectedTab^.SelectedsChildren^}"> @@ -156,29 +180,35 @@ + IsVisible="{Binding AppState.SelectedTab^.SelectedsChildren^.Count, Converter={StaticResource EqualityConverter}, ConverterParameter=0}"> Empty - + - + - + @@ -193,14 +223,16 @@ - + + Source="/Assets/filetime.ico" />