Browse Source

Document topBar.height and title.height style option

Guy Carmeli 6 years ago
parent
commit
604a3e2a2a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      docs/docs/styling.md

+ 2
- 0
docs/docs/styling.md View File

71
   modalPresentationStyle: 'overCurrentContext', // Supported styles are: 'formSheet', 'pageSheet', 'overFullScreen', 'overCurrentContext', 'currentContext', 'popOver', 'fullScreen' and 'none'. On Android, only overCurrentContext and none are supported.
71
   modalPresentationStyle: 'overCurrentContext', // Supported styles are: 'formSheet', 'pageSheet', 'overFullScreen', 'overCurrentContext', 'currentContext', 'popOver', 'fullScreen' and 'none'. On Android, only overCurrentContext and none are supported.
72
   topBar: {
72
   topBar: {
73
     visible: true,
73
     visible: true,
74
+    height: 70, // Android only, optional; Height of the TopBar in dp.
74
     leftButtons: [{
75
     leftButtons: [{
75
       id: 'buttonOne',
76
       id: 'buttonOne',
76
       icon: require('icon.png'),
77
       icon: require('icon.png'),
107
       fontSize: 14,
108
       fontSize: 14,
108
       color: 'red',
109
       color: 'red',
109
       fontFamily: 'Helvetica',
110
       fontFamily: 'Helvetica',
111
+      height: 70, // Android only, optional; Height of the TitleBar in dp.
110
       component: {
112
       component: {
111
         name: 'example.CustomTopBarTitle',
113
         name: 'example.CustomTopBarTitle',
112
         alignment: 'center'
114
         alignment: 'center'