Skip to content

Commit

Permalink
Move buttons around
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Jul 10, 2022
1 parent 4ad8524 commit 8c84bc9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/WinUIExSample/MediaWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<winex:MediaPlayerElement x:Name="player" AutoPlay="True"
PosterSource="ms-appx:///Images/logo.png"
AreTransportControlsEnabled="True" Grid.Column="1">
<winex:MediaPlayerElement.TransportControls>
<winex:MediaTransportControls IsFullWindowButtonVisible="False" IsNextTrackButtonVisible="True" IsPreviousTrackButtonVisible="True" />
</winex:MediaPlayerElement.TransportControls>
</winex:MediaPlayerElement>
<ScrollViewer>
<ScrollViewer Grid.RowSpan="2">
<StackPanel Margin="20" x:Name="propPanel" />
</ScrollViewer>
<StackPanel Grid.Column="2" Margin="20">
<StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" Margin="5">
<Button Content="Load Source" Click="LoadSourceButton_Click" HorizontalAlignment="Stretch" />
<Button Content="Load Playlist" Click="LoadPlaylistButton_Click" HorizontalAlignment="Stretch" />
<Button Content="Load Invalid Source" Click="LoadInvalidSourceButton_Click" HorizontalAlignment="Stretch" />
Expand Down

0 comments on commit 8c84bc9

Please sign in to comment.