Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(action-bar): iosLargeTitle and iosShadow attributes #10694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Feb 10, 2025

Allows setting prefersLargeTitles as well as hiding the shadow/bottom shadow border on the ActionBar. Changes no current defaults, just extra options to customize.

PR Checklist

What is the current behavior?

Currently you could use loaded event to grab ActionBar reference to set it's prefersLargeTitles property on the UINavigationBar as well as modify it's appearance.

What is the new behavior?

This introduces 2 new ActionBar attributes:

  • iosLargeTitle: boolean (keeps current default, which is false).
  • iosShadow: boolean (keeps current default, which is true).

Introduces no breaking changes - keeps existing behavior while providing easy declarative options to customize.

closes #9046
closes #5904

With iosLargeTitle="true" iosShadow="false":
https://github.com/user-attachments/assets/3e49e358-32c1-4b69-927f-5ce32744d794

With just iosLargeTitle="true", keeping current shadow default:
https://github.com/user-attachments/assets/28f9d02a-d41f-4e89-a231-157ea88389da

With just iosShadow="false":
https://github.com/user-attachments/assets/3228088d-478a-464f-baa3-34eeb3b5ef33

Allows setting prefersLargeTitles as well as hiding the shadow/bottom shadow border on the ActionBar. Changes no current defaults, just extra options to customize.
@NathanWalker NathanWalker added this to the 8.9 milestone Feb 10, 2025
@NathanWalker NathanWalker added the docs needed Additional documentation on this issue/PR is needed label Feb 11, 2025
@NathanWalker NathanWalker merged commit 11d5e54 into main Feb 18, 2025
0 of 2 checks passed
@NathanWalker NathanWalker deleted the feat/actionbar-attributes branch February 18, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs needed Additional documentation on this issue/PR is needed
Projects
None yet
2 participants