tabs to spaces

This commit is contained in:
2025-12-01 12:55:22 +03:00
parent 744572dc69
commit c93911fd19

View File

@@ -4,7 +4,7 @@
xmlns:m="using:KeyKeeper.Models" xmlns:m="using:KeyKeeper.Models"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:KeyKeeper.Views" xmlns:local="clr-namespace:KeyKeeper.Views"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="KeyKeeper.Views.MainWindow" x:Class="KeyKeeper.Views.MainWindow"
x:DataType="vm:MainWindowViewModel" x:DataType="vm:MainWindowViewModel"
@@ -15,93 +15,93 @@
<vm:MainWindowViewModel/> <vm:MainWindowViewModel/>
</Design.DataContext> </Design.DataContext>
<Grid ColumnDefinitions="1.3*, 3*"> <Grid ColumnDefinitions="1.3*, 3*">
<Border Background="#2328C4" Grid.Column="0"> <Border Background="#2328C4" Grid.Column="0">
<Grid RowDefinitions="Auto,*,Auto" Margin="30"> <Grid RowDefinitions="Auto,*,Auto" Margin="30">
<Svg Path="/Assets/logo_en.svg" Width="340" Height="340"/> <Svg Path="/Assets/logo_en.svg" Width="340" Height="340"/>
<StackPanel Grid.Row="1" Spacing="5" VerticalAlignment="Top"> <StackPanel Grid.Row="1" Spacing="5" VerticalAlignment="Top">
<Button Content="New Database" <Button Content="New Database"
Foreground="White"
Background="Transparent"
BorderThickness="0"
FontSize="28"
Cursor="Hand"
Click="CreateNewVault_Click"/>
<Button Content="Open Database"
Foreground="White" Foreground="White"
Background="Transparent" Background="Transparent"
BorderThickness="0" BorderThickness="0"
FontSize="28" FontSize="28"
Cursor="Hand" Cursor="Hand"
Click="OpenExistingVault_Click"/> Click="CreateNewVault_Click"/>
</StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal" Spacing="25"> <Button Content="Open Database"
<Svg Path="/Assets/settings.svg" Width="61" Height="61"/> Foreground="White"
<Button Command="{Binding OpenSettingsCommand}"> Background="Transparent"
<Svg Path="/Assets/about.svg" Width="61" Height="61"/> BorderThickness="0"
</Button> FontSize="28"
</StackPanel> Cursor="Hand"
Click="OpenExistingVault_Click"/>
</StackPanel>
</Grid> <StackPanel Grid.Row="2" Orientation="Horizontal" Spacing="25">
</Border> <Svg Path="/Assets/settings.svg" Width="61" Height="61"/>
<Button Command="{Binding OpenSettingsCommand}">
<Svg Path="/Assets/about.svg" Width="61" Height="61"/>
</Button>
</StackPanel>
</Grid>
</Border>
<Grid Grid.Column="1" VerticalAlignment="Center"> <Grid Grid.Column="1" VerticalAlignment="Center">
<Grid RowDefinitions="Auto,Auto"> <Grid RowDefinitions="Auto,Auto">
<TextBlock Text="Recent Database" <TextBlock Text="Recent Database"
FontSize="38" FontSize="38"
Foreground="#2328C4" Foreground="#2328C4"
FontWeight="SemiBold" FontWeight="SemiBold"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Margin="0,40,0,30"/> Margin="0,40,0,30"/>
<Border Grid.Row="1" <Border Grid.Row="1"
Width="700" Width="700"
Height="260" Height="260"
HorizontalAlignment="Center" HorizontalAlignment="Center"
BorderBrush="#D0D0D0" BorderBrush="#D0D0D0"
BorderThickness="1" BorderThickness="1"
CornerRadius="4" CornerRadius="4"
Padding="25"> Padding="25">
<Grid RowDefinitions="Auto,*,*,*,*"> <Grid RowDefinitions="Auto,*,*,*,*">
<TextBlock Text="There is no data yet..." <TextBlock Text="There is no data yet..."
FontSize="20" FontSize="20"
Foreground="#777" Foreground="#777"
Margin="0,0,0,0"/> Margin="0,0,0,0"/>
<Rectangle Grid.Row="1" <Rectangle Grid.Row="1"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<Rectangle Grid.Row="2" <Rectangle Grid.Row="2"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<Rectangle Grid.Row="3" <Rectangle Grid.Row="3"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<Rectangle Grid.Row="4" <Rectangle Grid.Row="4"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
</Grid> </Grid>
</Border> </Border>
</Grid> </Grid>
</Grid> </Grid>
</Grid> </Grid>
</Window> </Window>