Repository navigation
MediaPlayerElement transport controls display - #12404
rafael-rosa-knowcode wants to merge 1 commit into
Conversation
| </AppBarButton.Icon> | ||
| </AppBarButton> | ||
| </Border> | ||
| <Border x:Name="MediaTransportControls_Command_Border" Grid.Column="1" Grid.Row="2"> |
There was a problem hiding this comment.
This feels like something that may be overwritten by a future fluent styles update. @agneszitte @MartinZikmund would you know if this is something that was changed in a recent fluent styles update in WinUI ?
There was a problem hiding this comment.
@rafael-rosa-knowcode what was the intent behind the need to add the additional HorizontalAlignment="Center"?
Since I am not seeing it in the WinUI common styles:
- https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/CommonStyles/MediaTransportControls_themeresources.xaml
- https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/CommonStyles/MediaTransportControls_themeresources_v1.xaml
(But also seems that we have a few small differences between the WinUI style versions and the current versions in place @jeromelaban / @MartinZikmund)
I am pretty sure that we would need to check first the few small differences in the styles (Uno latest VS WinUI latest) and if there are still some differences visually, we will need to do the opposite and understand why one of the Panel or Control is not behaving the same on the other platforms compared to Windows with the exact same Style
There was a problem hiding this comment.
@jeromelaban , in this case, should we update the issue in this PR?
CI is crashing in UI Tests Screenshots Comparison.
Because the controls are centralized now.
Will the changes be overwritten?
Do I need to look at the Tests Screenshots Comparison?
There was a problem hiding this comment.
@agneszitte , sorry. Just now i see your comment.
I change to the center to be like the windows, you show in the expected.
And now is like:
this is the minimum (Wasm, Wasm Generic, Windows on Gallery)
And this is the full (Wasm and Windows on Gallery)
But you are correct. Now i see.
We need to make the same style MediaTransportControls_themeresources.xaml looks like the reference.
Will try to list the differences and fix.
b8d0a4f to
908e9af
Compare
908e9af to
3551653
Compare



GitHub Issue (If applicable): closes #12336
#12336
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
Items in transport controls are centered
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):