Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the Font Size and Weight for the Back Arrow and Back Text in a Navigation Page?

I had a similar question on how to change the font of the title which is here:

How can I change the Font Size and Weight for the Header in a Navigation Page?

Now I have that changed does anyone know how to also change the font size and weight for the top back arrow and the message that goes with it at the top of a navigation page? Seems like these are not part of the title as they have retained the original font size and weight.

like image 436
Alan2 Avatar asked Jan 31 '18 06:01

Alan2


People also ask

How do I change the size of text in Wordpress?

Just click on any paragraph block, then select the font size under 'Typography' on the right-hand side. You can select from the drop-down, which covers Small, Normal, Medium, Large, and Huge.

How do I change font size in Matlab?

On the Home tab, in the Environment section, click Preferences. Select MATLAB > Fonts and, in the Desktop code font section, select a font size. Specify the font size using font preferences.

How do I change the size of the header font in Wordpress?

If you choose Header, you can change the header size by clicking on the dropdown under Typography > Preset Size in the right-hand menu. You can also change the header tag by clicking H2 on the block menu that appears above the header.


1 Answers

I think this issue only occurs on iOS platform, so the solution is

Set UIBarButtonItem Appearance in FinishedLaunching in AppDelegate

UITextAttributes att = new UITextAttributes();
att.Font = UIFont.SystemFontOfSize(20.0 , FontAttributes.Bold); // size and weight

UIBarButtonItem.AppearanceWhenContainedIn(new Type[] { typeof( UINavigationBar) }).SetTitleTextAttributes(att, UIControlState.Normal);
UIBarButtonItem.AppearanceWhenContainedIn(new Type[] { typeof(UINavigationBar) }).SetTitleTextAttributes(att,  UIControlState.Highlighted);
like image 90
ColeX - MSFT Avatar answered Sep 19 '22 20:09

ColeX - MSFT