Skip to content

MediaPlayerElement transport controls display - #12404

Closed
rafael-rosa-knowcode wants to merge 1 commit into
masterfrom
dev/ramr/issue12336-TransportControl
Closed

rafael-rosa-knowcode wants to merge 1 commit into
masterfrom
dev/ramr/issue12336-TransportControl

Conversation

@rafael-rosa-knowcode

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): closes #12336

#12336

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

image

What is the new behavior?

Items in transport controls are centered

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

</AppBarButton.Icon>
</AppBarButton>
</Border>
<Border x:Name="MediaTransportControls_Command_Border" Grid.Column="1" Grid.Row="2">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ?

@agneszitte agneszitte May 26, 2023 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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:

(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

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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)

image

And this is the full (Wasm and Windows on Gallery)

image

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.

@rafael-rosa-knowcode rafael-rosa-knowcode mentioned this pull request May 25, 2023
17 of 32 tasks
@rafael-rosa-knowcode
rafael-rosa-knowcode force-pushed the dev/ramr/issue12336-TransportControl branch from b8d0a4f to 908e9af Compare May 29, 2023 21:04
@rafael-rosa-knowcode
rafael-rosa-knowcode force-pushed the dev/ramr/issue12336-TransportControl branch from 908e9af to 3551653 Compare May 29, 2023 21:30
@jeromelaban
jeromelaban deleted the dev/ramr/issue12336-TransportControl branch April 2, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Gallery][Wasm/iOS/Android] MediaPlayerElement incorrect visual with only AreTransportControlsEnabled=true

3 participants