瀏覽代碼

Document topBar.height and title.height style option

Guy Carmeli 6 年之前
父節點
當前提交
604a3e2a2a
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      docs/docs/styling.md

+ 2
- 0
docs/docs/styling.md 查看文件

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'