From 7134ff2da62ea184c5a901984c658d104ab767d2 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 10 Jan 2021 17:00:13 +0000 Subject: [PATCH] Try a different arrangement of Board Setup pages. --- pcbnew/dialogs/dialog_board_setup.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pcbnew/dialogs/dialog_board_setup.cpp b/pcbnew/dialogs/dialog_board_setup.cpp index c7f7149649..b9e1867227 100644 --- a/pcbnew/dialogs/dialog_board_setup.cpp +++ b/pcbnew/dialogs/dialog_board_setup.cpp @@ -73,20 +73,18 @@ DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP( PCB_EDIT_FRAME* aFrame ) : m_treebook->AddSubPage( m_physicalStackup, _( "Physical Stackup" ) ); // Change this value if m_physicalStackup is not the page 2 of m_treebook m_physicalStackupPage = 2; // The page number (from 0) to select the m_physicalStackup panel - - m_treebook->AddPage( new wxPanel( this ), _( "Defaults" ) ); - m_treebook->AddSubPage( m_textAndGraphics, _( "Text & Graphics" ) ); - m_treebook->AddSubPage( m_tracksAndVias, _( "Tracks & Vias" ) ); m_treebook->AddSubPage( m_maskAndPaste, _( "Solder Mask/Paste" ) ); + m_treebook->AddPage( new wxPanel( this ), _( "Text & Graphics" ) ); + m_treebook->AddSubPage( m_textAndGraphics, _( "Defaults" ) ); + m_treebook->AddSubPage( m_textVars, _( "Text Variables" ) ); + m_treebook->AddPage( new wxPanel( this ), _( "Design Rules" ) ); m_treebook->AddSubPage( m_constraints, _( "Constraints" ) ); - m_treebook->AddSubPage( m_rules, _( "Rules" ) ); - m_treebook->AddSubPage( m_severities, _( "Violation Severity" ) ); - - m_treebook->AddPage( new wxPanel( this ), _( "Project" ) ); + m_treebook->AddSubPage( m_tracksAndVias, _( "Pre-defined Sizes" ) ); m_treebook->AddSubPage( m_netclasses, _( "Net Classes" ) ); - m_treebook->AddSubPage( m_textVars, _( "Text Variables" ) ); + m_treebook->AddSubPage( m_rules, _( "Custom Rules" ) ); + m_treebook->AddSubPage( m_severities, _( "Violation Severity" ) ); for( size_t i = 0; i < m_treebook->GetPageCount(); ++i ) m_macHack.push_back( true );