Commit 286602575bf10c93e1493442dc24e33fa1f35dfe
1 parent
29f02ab8
Exists in
master
and in
111 other branches
Reduce default margins for a page + Reduce spaces between two panels
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
js/app/models/PlotObjects/PlotObjectConfig.js
... | ... | @@ -26,8 +26,8 @@ Ext.define('amdaPlotObj.PlotObjectConfig', { |
26 | 26 | simplifiedView : false |
27 | 27 | }, |
28 | 28 | page : { |
29 | - xMargin : 15., | |
30 | - yMargin : 20., | |
29 | + xMargin : 5., | |
30 | + yMargin : 5., | |
31 | 31 | mode : 'color', |
32 | 32 | orientation: 'landscape', |
33 | 33 | dimension : 'ISO A4', |
... | ... | @@ -43,8 +43,9 @@ Ext.define('amdaPlotObj.PlotObjectConfig', { |
43 | 43 | layout : { |
44 | 44 | type : 'vertical', |
45 | 45 | panelHeight : 0.5, |
46 | - panelSpacing : 0.05, | |
47 | - expand : false | |
46 | + panelSpacing : 0., | |
47 | + expand : false, | |
48 | + timeAxesLegend : true | |
48 | 49 | } |
49 | 50 | }, |
50 | 51 | panel : { |
... | ... | @@ -237,7 +238,7 @@ Ext.define('amdaPlotObj.PlotObjectConfig', { |
237 | 238 | ], |
238 | 239 | |
239 | 240 | availablePageOrientations : [ |
240 | - {'key' : 'landscape', 'value' : 'Lanscape'}, | |
241 | + {'key' : 'landscape', 'value' : 'Landscape'}, | |
241 | 242 | {'key' : 'portrait', 'value' : 'Portrait'} |
242 | 243 | ], |
243 | 244 | |
... | ... | @@ -450,4 +451,4 @@ Ext.define('amdaPlotObj.PlotObjectConfig', { |
450 | 451 | onParamConfigLoaded(result.success, result.data); |
451 | 452 | }); |
452 | 453 | } |
453 | -}); | |
454 | 454 | \ No newline at end of file |
455 | +}); | |
... | ... |