|
@@ -15,7 +15,7 @@
|
|
<Border BorderBrush="Black" BorderThickness="1">
|
|
<Border BorderBrush="Black" BorderThickness="1">
|
|
<Grid Background="{StaticResource AccentColor}">
|
|
<Grid Background="{StaticResource AccentColor}">
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
- <RowDefinition Height="20*"/>
|
|
|
|
|
|
+ <RowDefinition Height="32"/>
|
|
<RowDefinition Height="229*"/>
|
|
<RowDefinition Height="229*"/>
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0" Background="{StaticResource MainColor}">
|
|
<Grid Grid.Row="0" Background="{StaticResource MainColor}">
|
|
@@ -24,17 +24,14 @@
|
|
<i:InvokeCommandAction Command="{Binding DragMoveCommand}"/>
|
|
<i:InvokeCommandAction Command="{Binding DragMoveCommand}"/>
|
|
</i:EventTrigger>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</i:Interaction.Triggers>
|
|
- <Button Width="20" Height="20" Style="{StaticResource ImageButtonStyle}" Cursor="Hand" VerticalAlignment="Top" HorizontalAlignment="Right" BorderThickness="0"
|
|
|
|
|
|
+ <Button Style="{StaticResource CloseButtonStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" BorderThickness="0"
|
|
Command="{Binding CloseButtonCommand}" CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}">
|
|
Command="{Binding CloseButtonCommand}" CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}">
|
|
- <Button.Background>
|
|
|
|
- <ImageBrush ImageSource="/Images/Cross.png" Stretch="Uniform"/>
|
|
|
|
- </Button.Background>
|
|
|
|
</Button>
|
|
</Button>
|
|
</Grid>
|
|
</Grid>
|
|
<TextBlock Grid.Row="1" Foreground="Snow" VerticalAlignment="Top" HorizontalAlignment="Center" Text="File settings" TextAlignment="Center" Margin="0,10,0,0" FontSize="24"/>
|
|
<TextBlock Grid.Row="1" Foreground="Snow" VerticalAlignment="Top" HorizontalAlignment="Center" Text="File settings" TextAlignment="Center" Margin="0,10,0,0" FontSize="24"/>
|
|
<StackPanel Orientation="Vertical" Grid.Row="1" Margin="0,50,0,0">
|
|
<StackPanel Orientation="Vertical" Grid.Row="1" Margin="0,50,0,0">
|
|
<local:SizePicker Width="250" Height="120" ChoosenHeight="{Binding Path=SaveHeight, Mode=TwoWay, ElementName=saveFilePopup}"
|
|
<local:SizePicker Width="250" Height="120" ChoosenHeight="{Binding Path=SaveHeight, Mode=TwoWay, ElementName=saveFilePopup}"
|
|
- ChoosenWidth="{Binding Path=SaveWidth, Mode=TwoWay, ElementName=saveFilePopup}"/>
|
|
|
|
|
|
+ ChosenWidth="{Binding Path=SaveWidth, Mode=TwoWay, ElementName=saveFilePopup}"/>
|
|
<Button Foreground="Snow" Height="40" Width="160" Margin="0,10,0,0" Content="Path" Background="{StaticResource MainColor}" BorderBrush="{Binding PathButtonBorder}" Command="{Binding ChoosePathCommand}"/>
|
|
<Button Foreground="Snow" Height="40" Width="160" Margin="0,10,0,0" Content="Path" Background="{StaticResource MainColor}" BorderBrush="{Binding PathButtonBorder}" Command="{Binding ChoosePathCommand}"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<Button Grid.Row="1" Height="30" Width="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10" Style="{StaticResource DarkRoundButton}" Content="OK" Command="{Binding OkCommand}" CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"/>
|
|
<Button Grid.Row="1" Height="30" Width="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10" Style="{StaticResource DarkRoundButton}" Content="OK" Command="{Binding OkCommand}" CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"/>
|