Commit 2fb8bbf3dbfccc6d80f40073dc2f80475767500c
1 parent
c2cc7749
Exists in
master
and in
56 other branches
#5390 - First modifications
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
js/app/models/PlotObjects/PlotPanelObject.js
@@ -41,6 +41,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -41,6 +41,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
41 | {name: 'fills-node-state', type: 'int', defaultValue: 2}, //0 : collapsed, 1 : expanded, 2 : not set | 41 | {name: 'fills-node-state', type: 'int', defaultValue: 2}, //0 : collapsed, 1 : expanded, 2 : not set |
42 | {name: 'panel-index', type: 'int'}, | 42 | {name: 'panel-index', type: 'int'}, |
43 | {name: 'panel-background-color', type: 'string'}, | 43 | {name: 'panel-background-color', type: 'string'}, |
44 | + { name: 'panel-plotareabackground-color', type: 'string' }, | ||
44 | {name: 'panel-title-text', type: 'string'}, | 45 | {name: 'panel-title-text', type: 'string'}, |
45 | {name: 'panel-title-color', type: 'string'}, | 46 | {name: 'panel-title-color', type: 'string'}, |
46 | {name: 'panel-title-position', type: 'string'}, | 47 | {name: 'panel-title-position', type: 'string'}, |
@@ -551,6 +552,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -551,6 +552,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
551 | setDefaultValues: function() | 552 | setDefaultValues: function() |
552 | { | 553 | { |
553 | this.set('panel-background-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); | 554 | this.set('panel-background-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); |
555 | + this.set('panel-plotareabackground-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); | ||
554 | this.set('panel-title-text', ''); | 556 | this.set('panel-title-text', ''); |
555 | this.set('panel-title-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.color); | 557 | this.set('panel-title-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.color); |
556 | this.set('panel-title-position', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.position); | 558 | this.set('panel-title-position', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.position); |
@@ -691,6 +693,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | @@ -691,6 +693,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { | ||
691 | panelValues['panel-index'] = this.get('panel-index'); | 693 | panelValues['panel-index'] = this.get('panel-index'); |
692 | 694 | ||
693 | panelValues['panel-background-color'] = this.get('panel-background-color'); | 695 | panelValues['panel-background-color'] = this.get('panel-background-color'); |
696 | + panelValues['panel-plotareabackground-color'] = this.get('panel-plotareabackground-color'); | ||
694 | panelValues['panel-title-text'] = this.get('panel-title-text'); | 697 | panelValues['panel-title-text'] = this.get('panel-title-text'); |
695 | panelValues['panel-title-color'] = this.get('panel-title-color'); | 698 | panelValues['panel-title-color'] = this.get('panel-title-color'); |
696 | panelValues['panel-title-position'] = this.get('panel-title-position'); | 699 | panelValues['panel-title-position'] = this.get('panel-title-position'); |
js/app/views/PlotComponents/PlotPanelForm.js
@@ -142,6 +142,7 @@ Ext.define('amdaPlotComp.PlotPanelForm', { | @@ -142,6 +142,7 @@ Ext.define('amdaPlotComp.PlotPanelForm', { | ||
142 | me.crtTree.refresh(); | 142 | me.crtTree.refresh(); |
143 | }), | 143 | }), |
144 | this.addColorsPicker('panel-background-color', 'Background Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none'), | 144 | this.addColorsPicker('panel-background-color', 'Background Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none'), |
145 | + this.addColorsPicker('panel-plotareabackground-color', 'Plot Area Background Color', amdaPlotObj.PlotObjectConfig.availableColorsNew, 'none'), | ||
145 | this.addStandardFieldSet('Manual Bounds', '', boundsItems), | 146 | this.addStandardFieldSet('Manual Bounds', '', boundsItems), |
146 | this.addStandardFieldSet('Manual Margins', '', marginItems), | 147 | this.addStandardFieldSet('Manual Margins', '', marginItems), |
147 | this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), | 148 | this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), |