Bläddra i källkod

Update styling-the-navigator.md

Some navBar button properties were marked as common by mistake.
Guy Carmeli 8 år sedan
förälder
incheckning
fa1e6a6b74
1 ändrade filer med 11 tillägg och 10 borttagningar
  1. 11
    10
      docs/styling-the-navigator.md

+ 11
- 10
docs/styling-the-navigator.md Visa fil

39
   navBarBackgroundColor: '#f7f7f7', // change the background color of the nav bar (remembered across pushes)
39
   navBarBackgroundColor: '#f7f7f7', // change the background color of the nav bar (remembered across pushes)
40
 
40
 
41
   navBarButtonColor: '#007aff', // Change color of nav bar buttons (eg. the back button) (remembered across pushes)
41
   navBarButtonColor: '#007aff', // Change color of nav bar buttons (eg. the back button) (remembered across pushes)
42
-  navBarButtonFontSize: 20, // Change font size nav bar buttons (eg. the back button) (remembered across pushes)
43
-  navBarButtonFontWeight: '500', // Change font weight nav bar buttons (eg. the back button) (remembered across pushes)
44
-
45
-  navBarLeftButtonFontSize: 17, // Change font size of left nav bar button
46
-  navBarLeftButtonColor: 'red', // Change color of left nav bar button
47
-  navBarLeftButtonFontWeight: '400', // Change font weight of left nav bar button
48
-
49
-  navBarRightButtonFontSize: 17, // Change font size of right nav bar button
50
-  navBarRightButtonColor: 'blue', // Change color of right nav bar button
51
-  navBarRightButtonFontWeight: '600', // Change font weight of right nav bar button
52
 
42
 
53
   navBarHidden: false, // make the nav bar hidden
43
   navBarHidden: false, // make the nav bar hidden
54
   navBarHideOnScroll: false, // make the nav bar hidden only after the user starts to scroll
44
   navBarHideOnScroll: false, // make the nav bar hidden only after the user starts to scroll
72
   disabledBackGesture: false, // default: false. Disable the back gesture (swipe gesture) in order to pop the top screen. 
62
   disabledBackGesture: false, // default: false. Disable the back gesture (swipe gesture) in order to pop the top screen. 
73
   screenBackgroundImageName: '<name of image in Images.xcassets>', // Optional. default screen background image.
63
   screenBackgroundImageName: '<name of image in Images.xcassets>', // Optional. default screen background image.
74
   
64
   
65
+  navBarButtonFontSize: 20, // Change font size nav bar buttons (eg. the back button) (remembered across pushes)
66
+  navBarButtonFontWeight: '500', // Change font weight nav bar buttons (eg. the back button) (remembered across pushes)
67
+
68
+  navBarLeftButtonFontSize: 17, // Change font size of left nav bar button
69
+  navBarLeftButtonColor: 'red', // Change color of left nav bar button
70
+  navBarLeftButtonFontWeight: '400', // Change font weight of left nav bar button
71
+
72
+  navBarRightButtonFontSize: 17, // Change font size of right nav bar button
73
+  navBarRightButtonColor: 'blue', // Change color of right nav bar button
74
+  navBarRightButtonFontWeight: '600', // Change font weight of right nav bar button
75
+  
75
   // Android only
76
   // Android only
76
   navigationBarColor: '#000000', // change the background color of the bottom native navigation bar.
77
   navigationBarColor: '#000000', // change the background color of the bottom native navigation bar.
77
   navBarTitleTextCentered: true, // default: false. centers the title.
78
   navBarTitleTextCentered: true, // default: false. centers the title.