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