gDialogTitle = '$$$/Dialogs/Progress/DialogTitle';
gStatus = '$$$/Dialogs/Progress/Status';
gCancel = '$$$/Dialogs/Progress/Cancel';
gMaxWidth  = max_char_width() * 27;
                      

dialog ( name: gDialogTitle )
{
	view ( align_children: align_center )
	{
		view ( align_children: align_left )
		{
			view ( align_children: align_left )
			{
				static_text ( item_id: 'dstx', width: gMaxWidth );
			}
			link_text ( item_id: 'prfp', name: '$$$/Dialogs/Progress/PrefPath');
			
			gap();
			 
			cluster ( name: gStatus, align_children: align_left )
			{
				static_text ( item_id: 'sttx', width: gMaxWidth );
				progress_bar( item_id: 'prog', alignment: align_fill );
			}
		}	
		
		gap();
		
		button ( item_id: 'cbtn', name: gCancel );				
	}
}