[FZ Editor] "Save" and "Cancel" buttons are hidden in the grid layout editor (#13337)

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
Seraphima Zykova
2021-09-22 16:38:46 +03:00
committed by GitHub
parent f9bb7ba270
commit 423faf7af1

View File

@@ -8,19 +8,18 @@
xmlns:props="clr-namespace:FancyZonesEditor.Properties" xmlns:props="clr-namespace:FancyZonesEditor.Properties"
mc:Ignorable="d" mc:Ignorable="d"
Title="" Title=""
Height="176"
MinWidth="360" MinWidth="360"
BorderThickness="0" BorderThickness="0"
xmlns:ui="http://schemas.modernwpf.com/2019" xmlns:ui="http://schemas.modernwpf.com/2019"
ui:WindowHelper.UseModernWindowStyle="True" ui:WindowHelper.UseModernWindowStyle="True"
ui:TitleBar.IsIconVisible="False" ui:TitleBar.IsIconVisible="False"
SizeToContent="Width" SizeToContent="WidthAndHeight"
Background="{DynamicResource PrimaryBackgroundBrush}" Background="{DynamicResource PrimaryBackgroundBrush}"
ResizeMode="NoResize" ResizeMode="NoResize"
WindowStartupLocation="CenterOwner" WindowStartupLocation="CenterOwner"
ContentRendered="EditorWindow_ContentRendered" ContentRendered="EditorWindow_ContentRendered"
Closed="OnClosed"> Closed="OnClosed">
<Grid Height="140"> <Grid>
<Grid <Grid
Height="36" Height="36"
Background="{DynamicResource SecondaryBackgroundBrush}" Background="{DynamicResource SecondaryBackgroundBrush}"
@@ -62,7 +61,7 @@
<Run Text="{x:Static props:Resources.KeyboardControlsDescription}" /> <Run Text="{x:Static props:Resources.KeyboardControlsDescription}" />
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>
<Grid Margin="0,24,0,-4"> <Grid Margin="0,24,0,-36">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
<ColumnDefinition Width="8"/> <ColumnDefinition Width="8"/>