work around avalonia bug.
This commit is contained in:
Родитель
37285834ef
Коммит
9dc48b8b5c
|
@ -17,18 +17,13 @@
|
|||
<Grid>
|
||||
<Grid RowDefinitions="*, Auto, Auto">
|
||||
<Grid Grid.Row="0" Margin="5">
|
||||
<Viewbox
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Stretch="Uniform"
|
||||
StretchDirection="DownOnly">
|
||||
<views:GameView DataContext="{Binding Game}" />
|
||||
</Viewbox>
|
||||
|
||||
<views:GameView DataContext="{Binding Game}" HorizontalAlignment="Center" />
|
||||
<!--<views:NotificationsView HorizontalAlignment="Center" />-->
|
||||
</Grid>
|
||||
<Viewbox Grid.Row="1" Margin="2 5 2 15" MaxWidth="500">
|
||||
<views:KeyboardView DataContext="{Binding Keyboard}" />
|
||||
</Viewbox>
|
||||
|
||||
<views:KeyboardView DataContext="{Binding Keyboard}" Grid.Row="1" Margin="2 5 2 15" MaxWidth="500" />
|
||||
|
||||
<Panel Background="#171C2C" VerticalAlignment="Center" IsVisible="{Binding ShowWonDialog}" Height="190" Grid.Row="1" Margin="2 5 2 15" MaxWidth="500">
|
||||
<Border Margin="40" CornerRadius="4">
|
||||
<StackPanel Spacing="20" DockPanel.Dock="Top">
|
||||
|
|
Загрузка…
Ссылка в новой задаче