Hey all!
I'm looking for some assistance on modifying the width of the AllocationList window. I see this code here on the options:
I wonder if this can be used to change the width so everything fits within the scroll in the middle? If not perhaps a modification to the plugin. Any assistance would be appreciated!
EDIT: Nevermind, finally figured it out. Thanks!
I'm looking for some assistance on modifying the width of the AllocationList window. I see this code here on the options:
JavaScript:
// Initialize Variables
var param = this._list[index].ext;
var data = this.paramData(param);
var rect = this.itemRectForText(index);
// Draw Gauge
var gaugeColor1 = data.gaugeColor1 || '#000000';
var gaugeColor2 = data.gaugeColor2 || '#000000';
var rate = this.paramAllocationRate(param);
var width = this.contentsWidth();
this.drawGauge(rect.x, rect.y, width, rate, gaugeColor1, gaugeColor2);
// Draw Parameter Name
this.drawParamName(param, rect.x + this.textPadding(), rect.y, width);
// Draw Parameter Values
this.drawParamValues(param, rect.x + this.textPadding(), rect.y, width);
I wonder if this can be used to change the width so everything fits within the scroll in the middle? If not perhaps a modification to the plugin. Any assistance would be appreciated!
EDIT: Nevermind, finally figured it out. Thanks!