Quintiq file version 2.0
#parent: #root
Response OnCreated () id:Response_DialogLegendCapacityPlanning_OnCreated
{
  #keys: '[110880.6.8206622]'
  Body:
  [*
    // Set color
    
    ButtonConstraintViolation.BackgroundColor( ColorScheme.GanttChart_Error() );
    ButtonOverloadedCapacity.BackgroundColor( ColorScheme.GanttChart_Warning1() );
    ButtonBottleneckCapacity.BackgroundColor( ColorScheme.GanttChart_Warning2() );
    ButtonUsedCapacity.BackgroundColor( ColorScheme.GanttChart_Good() );
    ButtonInfiniteCapacity.BackgroundColor( ColorScheme.GanttChart_Neutral1() );
    ButtonFreeCapacity.BackgroundColor( ColorScheme.GanttChart_Free() );
    ButtonAggregatedCapacity.BackgroundColor( ColorScheme.GanttChart_Custom2() );
    
    ButtonStartOfPlanning.BackgroundColor( ColorScheme.GanttChart_StartOfPlanning() );
    ButtonEndOfFrozenPeriod.BackgroundColor( ColorScheme.GanttChart_EndOfFrozenPeriod() );
    ButtonHistoricalPeriodUnavailableAggregated.BackgroundColor( ColorScheme.GanttChart_Irrelevant() );
    ButtonChangeoverDuration.BackgroundColor( ColorScheme.GanttChart_Changeover() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIComponent_OnCreated'
}
