fix: fix file chooser layout alignment.
This commit is contained in:
parent
b591c96968
commit
0698046904
@ -23,6 +23,7 @@
|
|||||||
<ControlTemplate TargetType="dialogs:ManagedFileChooser">
|
<ControlTemplate TargetType="dialogs:ManagedFileChooser">
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<Border
|
<Border
|
||||||
|
Margin="8"
|
||||||
Padding="4"
|
Padding="4"
|
||||||
DockPanel.Dock="Left"
|
DockPanel.Dock="Left"
|
||||||
Theme="{DynamicResource CardBorder}">
|
Theme="{DynamicResource CardBorder}">
|
||||||
@ -47,7 +48,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
<DockPanel
|
<DockPanel
|
||||||
x:Name="NavBar"
|
x:Name="NavBar"
|
||||||
Margin="8,5,8,0"
|
Margin="8,8,8,0"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
DockPanel.Dock="Top">
|
DockPanel.Dock="Top">
|
||||||
<Button
|
<Button
|
||||||
@ -89,28 +90,32 @@
|
|||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
Rows="1">
|
Rows="1">
|
||||||
<Button
|
<Button
|
||||||
Margin="8,0"
|
Margin="8,0,0,0"
|
||||||
Classes="Primary"
|
Classes="Primary"
|
||||||
Command="{Binding Ok}">
|
Command="{Binding Ok}">
|
||||||
OK
|
OK
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
Margin="8,0"
|
Margin="8,0,0,0"
|
||||||
Classes="Danger"
|
Classes="Danger"
|
||||||
Command="{Binding Cancel}">
|
Command="{Binding Cancel}">
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
</UniformGrid>
|
</UniformGrid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
<Border Padding="8" Theme="{DynamicResource CardBorder}">
|
<Border
|
||||||
|
Margin="8"
|
||||||
|
Padding="8"
|
||||||
|
Theme="{DynamicResource CardBorder}">
|
||||||
<DockPanel Grid.IsSharedSizeScope="True">
|
<DockPanel Grid.IsSharedSizeScope="True">
|
||||||
<Grid
|
<Grid
|
||||||
Margin="0,0,0,8"
|
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
DockPanel.Dock="Top">
|
DockPanel.Dock="Top">
|
||||||
<Grid.Styles>
|
<Grid.Styles>
|
||||||
<Style Selector="TextBlock">
|
<Style Selector="TextBlock">
|
||||||
|
<Setter Property="Height" Value="24" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
<Setter Property="Margin" Value="8 0 0 0 " />
|
<Setter Property="Margin" Value="8 0 0 0 " />
|
||||||
</Style>
|
</Style>
|
||||||
</Grid.Styles>
|
</Grid.Styles>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user