Слияние с убранными размерами

This commit is contained in:
Никита Потапов 2024-04-11 11:59:19 +04:00
commit 2e0c6e46a7

View File

@ -89,7 +89,6 @@
</StackPanel.Background>
</StackPanel>
<StackPanel Name="VerticalPreviewGradient" Grid.Row="0" Grid.Column="0" Grid.RowSpan="6">
<StackPanel.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0.5">
@ -110,47 +109,48 @@
</Border>
</Grid>
<StackPanel Name="HorizontalPreviewInfo" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal">
<ComboBox
<ComboBox
Grid.Row="0" Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Center"
x:Name="ComboBoxAttractions"
Height="24"
Width="250"
Margin="30, 0, 0, 0"
SelectedIndex="0"
Background="{StaticResource controlSolidBrush}">
<ComboBoxItem Content="Выберите атракцион"/>
<ComboBoxItem Content="Болид"/>
<ComboBoxItem Content="Цепная пила"/>
<ComboBoxItem Content="Кораблекрушитель"/>
<ComboBoxItem Content="Раскачатель"/>
</ComboBox>
<DatePicker
<ComboBoxItem Content="Выберите аттракцион"/>
<ComboBoxItem Content="Болид"/>
<ComboBoxItem Content="Цепная пила"/>
<ComboBoxItem Content="Кораблекрушитель"/>
<ComboBoxItem Content="Раскачатель"/>
</ComboBox>
<DatePicker
VerticalAlignment="Center"
HorizontalAlignment="Center"
Grid.Row="0" Grid.Column="2"
x:Name="DatePicker"
Width="120"
Height="24"
Margin="30, 0, 0, 0"
Background="{StaticResource controlSolidBrush}"/>
<Label
Height="24"
Content="Количество:"
Margin="30, 0, 0, 0"
VerticalContentAlignment="Center"/>
<StackPanel Grid.Row="0" Grid.Column="3" VerticalAlignment="Center" Orientation="Horizontal"
HorizontalAlignment="Center">
<Label
Content="Количество:"/>
<TextBox
VerticalAlignment="Center"
HorizontalAlignment="Center"
Grid.Row="0" Grid.Column="3"
x:Name="TextBoxTicketCount"
TextWrapping="Wrap"
Width="50"
Height="24"
HorizontalContentAlignment="Right"
VerticalContentAlignment="Center"
Background="{StaticResource controlSolidBrush}"/>
<Button
Margin="30, 0, 0, 0"
Height="24"
Width="100"
</StackPanel>
<Button Grid.Row="0" Grid.Column="4"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Content="Купить билеты"
Background="{StaticResource controlSolidBrush}"
Click="ButtonBuyTicketsClick"/>
</StackPanel>
<ScrollViewer Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="5" Grid.RowSpan="5">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
@ -173,4 +173,4 @@
</Grid>
</Window>
</Window>