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 | 41 | {name: 'fills-node-state', type: 'int', defaultValue: 2}, //0 : collapsed, 1 : expanded, 2 : not set |
42 | 42 | {name: 'panel-index', type: 'int'}, |
43 | 43 | {name: 'panel-background-color', type: 'string'}, |
44 | + { name: 'panel-plotareabackground-color', type: 'string' }, | |
44 | 45 | {name: 'panel-title-text', type: 'string'}, |
45 | 46 | {name: 'panel-title-color', type: 'string'}, |
46 | 47 | {name: 'panel-title-position', type: 'string'}, |
... | ... | @@ -551,6 +552,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { |
551 | 552 | setDefaultValues: function() |
552 | 553 | { |
553 | 554 | this.set('panel-background-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); |
555 | + this.set('panel-plotareabackground-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.backgroundColor); | |
554 | 556 | this.set('panel-title-text', ''); |
555 | 557 | this.set('panel-title-color', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.color); |
556 | 558 | this.set('panel-title-position', amdaPlotObj.PlotObjectConfig.defaultValues.panel.title.position); |
... | ... | @@ -691,6 +693,7 @@ Ext.define('amdaPlotObj.PlotPanelObject', { |
691 | 693 | panelValues['panel-index'] = this.get('panel-index'); |
692 | 694 | |
693 | 695 | panelValues['panel-background-color'] = this.get('panel-background-color'); |
696 | + panelValues['panel-plotareabackground-color'] = this.get('panel-plotareabackground-color'); | |
694 | 697 | panelValues['panel-title-text'] = this.get('panel-title-text'); |
695 | 698 | panelValues['panel-title-color'] = this.get('panel-title-color'); |
696 | 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 | 142 | me.crtTree.refresh(); |
143 | 143 | }), |
144 | 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 | 146 | this.addStandardFieldSet('Manual Bounds', '', boundsItems), |
146 | 147 | this.addStandardFieldSet('Manual Margins', '', marginItems), |
147 | 148 | this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems), | ... | ... |