Updates wording used in alignment submenu to make the actions clearer when icons are missing. Also reorganises the order of items in the submenu.
This commit is contained in:
parent
48150389b1
commit
2a334a5c59
|
@ -959,12 +959,12 @@ TOOL_ACTION PCB_ACTIONS::alignRight( "pcbnew.AlignAndDistribute.alignRight",
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::alignCenterX( "pcbnew.AlignAndDistribute.alignCenterX",
|
TOOL_ACTION PCB_ACTIONS::alignCenterX( "pcbnew.AlignAndDistribute.alignCenterX",
|
||||||
AS_GLOBAL, 0, "",
|
AS_GLOBAL, 0, "",
|
||||||
_( "Align to Middle" ),
|
_( "Align to Vertical Center" ),
|
||||||
_( "Aligns selected items to the vertical center" ), align_items_middle_xpm );
|
_( "Aligns selected items to the vertical center" ), align_items_middle_xpm );
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::alignCenterY( "pcbnew.AlignAndDistribute.alignCenterY",
|
TOOL_ACTION PCB_ACTIONS::alignCenterY( "pcbnew.AlignAndDistribute.alignCenterY",
|
||||||
AS_GLOBAL, 0, "",
|
AS_GLOBAL, 0, "",
|
||||||
_( "Align to Center" ),
|
_( "Align to Horizontal Center" ),
|
||||||
_( "Aligns selected items to the horizontal center" ), align_items_center_xpm );
|
_( "Aligns selected items to the horizontal center" ), align_items_center_xpm );
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::distributeHorizontally( "pcbnew.AlignAndDistribute.distributeHorizontally",
|
TOOL_ACTION PCB_ACTIONS::distributeHorizontally( "pcbnew.AlignAndDistribute.distributeHorizontally",
|
||||||
|
|
|
@ -66,12 +66,14 @@ bool ALIGN_DISTRIBUTE_TOOL::Init()
|
||||||
m_placementMenu->SetTitle( _( "Align/Distribute" ) );
|
m_placementMenu->SetTitle( _( "Align/Distribute" ) );
|
||||||
|
|
||||||
// Add all align/distribute commands
|
// Add all align/distribute commands
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignTop );
|
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignBottom );
|
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignLeft );
|
m_placementMenu->Add( PCB_ACTIONS::alignLeft );
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignRight );
|
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignCenterX );
|
m_placementMenu->Add( PCB_ACTIONS::alignCenterX );
|
||||||
|
m_placementMenu->Add( PCB_ACTIONS::alignRight );
|
||||||
|
|
||||||
|
m_placementMenu->AppendSeparator();
|
||||||
|
m_placementMenu->Add( PCB_ACTIONS::alignTop );
|
||||||
m_placementMenu->Add( PCB_ACTIONS::alignCenterY );
|
m_placementMenu->Add( PCB_ACTIONS::alignCenterY );
|
||||||
|
m_placementMenu->Add( PCB_ACTIONS::alignBottom );
|
||||||
|
|
||||||
m_placementMenu->AppendSeparator();
|
m_placementMenu->AppendSeparator();
|
||||||
m_placementMenu->Add( PCB_ACTIONS::distributeHorizontally );
|
m_placementMenu->Add( PCB_ACTIONS::distributeHorizontally );
|
||||||
|
|
Loading…
Reference in New Issue