add missing spacing
This commit is contained in:
@@ -12,8 +12,7 @@
|
|||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
ColumnDefinitions="*"
|
ColumnDefinitions="*"
|
||||||
RowDefinitions="Auto,*,Auto"
|
RowDefinitions="Auto,*,Auto">
|
||||||
>
|
|
||||||
|
|
||||||
<!-- StackPanel: Header -->
|
<!-- StackPanel: Header -->
|
||||||
<StackPanel
|
<StackPanel
|
||||||
@@ -22,22 +21,20 @@
|
|||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Margin="3"
|
Margin="3"
|
||||||
IsVisible="False"
|
Spacing="6"
|
||||||
>
|
IsVisible="False">
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
x:Name="ImageTitle"
|
x:Name="ImageTitle"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Width="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"
|
Width="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"
|
||||||
Height="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"
|
Height="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
x:Name="LabelTitle"
|
x:Name="LabelTitle"/>
|
||||||
/>
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- Panel: Content -->
|
<!-- Panel: Content -->
|
||||||
@@ -46,8 +43,7 @@
|
|||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
Margin="3"
|
Margin="3"
|
||||||
Content="{Binding MainContent, RelativeSource={RelativeSource AncestorType=dialogs:AvaloniaFlyoutBase}}"
|
Content="{Binding MainContent, RelativeSource={RelativeSource AncestorType=dialogs:AvaloniaFlyoutBase}}"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- StackPanel: Footer -->
|
<!-- StackPanel: Footer -->
|
||||||
<Grid
|
<Grid
|
||||||
@@ -55,15 +51,13 @@
|
|||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
RowDefinitions="Auto"
|
RowDefinitions="Auto"
|
||||||
ColumnDefinitions="*,Auto,Auto"
|
ColumnDefinitions="*,Auto,Auto"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch">
|
||||||
>
|
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
Margin="3"
|
Margin="3"
|
||||||
Content="{Binding FooterContent, RelativeSource={RelativeSource AncestorType=dialogs:AvaloniaFlyoutBase}}"
|
Content="{Binding FooterContent, RelativeSource={RelativeSource AncestorType=dialogs:AvaloniaFlyoutBase}}"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Button: Okay -->
|
<!-- Button: Okay -->
|
||||||
<controls:ImageButton
|
<controls:ImageButton
|
||||||
@@ -72,8 +66,7 @@
|
|||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
Margin="3"
|
Margin="3"
|
||||||
Text="Okay"
|
Text="Okay"
|
||||||
Click="ButtonOkay_OnClick"
|
Click="ButtonOkay_OnClick"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Button: Cancel -->
|
<!-- Button: Cancel -->
|
||||||
<controls:ImageButton
|
<controls:ImageButton
|
||||||
@@ -82,8 +75,7 @@
|
|||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
Margin="3"
|
Margin="3"
|
||||||
Text="Cancel"
|
Text="Cancel"
|
||||||
Click="ButtonCancel_OnClick"
|
Click="ButtonCancel_OnClick"/>
|
||||||
/>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
Reference in New Issue
Block a user