How to align left a navigation bar Title in iOS using Xamarin forms

JRolandrosJRolandros FRMember ✭✭

Hello, is there a way to align left the title of a navigation bar of a page when using MasterDetailPage? By default it seems to be centered in iOS
But I want it to be left-align as in android.
Thank you all.
here is what i have now
image

And here is what I want:
image

Posts

  • ExibExib USMember

    I would like to accomplish the same thing, @JRolandros have you found any solution to this ?

  • yuriy8400yuriy8400 USMember, University

    Same question. Still no solution?

  • JRolandrosJRolandros FRMember ✭✭

    @Exib said:
    I would like to accomplish the same thing, @JRolandros have you found any solution to this ?

    Not yet still looking for any workaround. sorry

  • mubimubi USMember ✭✭✭

    any solution ???

  • Ezra.UEzra.U USMember

    Any solution yet?

  • HamdiHakanHamdiHakan TRMember ✭✭

    Any solution yet?

  • VelocityVelocity NZMember ✭✭✭
    Custom navigation page renderer should do the trick.
  • Idres.6976Idres.6976 USUniversity

    var label = new UILabel();<br /> label.Text = title;<br /> label.Font = UIFont.FromName(Strings.OpenSans_Bold, 30f);<br /> label.TextAlignment = UITextAlignment.Left;<br /> label.SizeToFit();<br /> NavigationController.NavigationBar.TopItem.LeftBarButtonItem = new UIBarButtonItem(label);

Sign In or Register to comment.