Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Page TitleAlignment Property #6959

Closed
jrahma opened this issue Jul 23, 2019 · 4 comments
Closed

Page TitleAlignment Property #6959

jrahma opened this issue Jul 23, 2019 · 4 comments

Comments

@jrahma
Copy link

jrahma commented Jul 23, 2019

Hi,

Please add TitleAlignment to the ContentPage which will Have the following values:

  • Right
  • Left
  • Center

This will allow users to align the title without having to write custom render or use cusom layout, e.g. Grids.

Thanks,
Jassim

@LeoJHarris
Copy link

@jrahma you could easily achieve this using the TitleView with a centered label, that would do the trick.

https://developer.xamarin.com/samples/xamarin-forms/Navigation/TitleView/

@PureWeen PureWeen added the e/4 🕓 4 label Jul 25, 2019
@fabcall
Copy link

fabcall commented Jul 27, 2019

@jrahma you could easily achieve this using the TitleView with a centered label, that would do the trick.

https://developer.xamarin.com/samples/xamarin-forms/Navigation/TitleView/

Even though I agree with this, if I'm not mistaken, if you center NavigationView contents and the NavigationPage have a master detail toggler, back arrow or toolbarItem, it will no center correctly.

@Cfun1
Copy link

Cfun1 commented Dec 10, 2020

@LeoJHarris, @fabcall is right it will not be centered I think this issue highlight it #4848

@jfversluis
Copy link
Member

This will not happen anymore for Xamarin.Forms. If this is still important to you, make sure to check the .NET MAUI repo and see if it's already on the roadmap or open an issue with a detailed feature request. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants