Quintiq file version 2.0
#parent: CustomDrawComponentContainer
Response OnClick () id:Response_CustomDrawComponentContainer_MenuResize_OnClick
{
  #keys: '[139164.4.819670638]'
  Body:
  [*
    Form.Resize();
  *]
  CanBindMultiple: false
  DefinitionID => /CustomDrawComponentContainer/Responsedef_CustomDrawComponentContainer_Menu_OnClick
  Initiator: 'MenuResize'
  Precondition:
  [*
    fo := FeedbackObject::LocalFeedback();
    
    if( not MenuAutoFit.Checked() )
    {
      fo.AddHard( Translations::LibOpt_ComponentGraph_CannotResize_NoAutoFit() );
    }
    
    return fo.IsAllowed();
  *]
}
