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" />