Try out headers in Cvpcb.
Note: it's easy enough to back out. If you don't like it, please speak your mind. I'm ambivalent about them. Fixes: lp:1782952 * https://bugs.launchpad.net/kicad/+bug/1782952
This commit is contained in:
parent
d52429fc3c
commit
3bf2e2f9fc
|
@ -151,8 +151,8 @@ CVPCB_MAINFRAME::CVPCB_MAINFRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
EDA_PANEINFO horiz;
|
EDA_PANEINFO horiz;
|
||||||
horiz.HorizontalToolbarPane();
|
horiz.HorizontalToolbarPane();
|
||||||
|
|
||||||
EDA_PANEINFO info;
|
EDA_PANEINFO layers;
|
||||||
info.InfoToolbarPane();
|
layers.LayersToolbarPane();
|
||||||
|
|
||||||
if( m_mainToolBar )
|
if( m_mainToolBar )
|
||||||
m_auimgr.AddPane( m_mainToolBar,
|
m_auimgr.AddPane( m_mainToolBar,
|
||||||
|
@ -160,17 +160,20 @@ CVPCB_MAINFRAME::CVPCB_MAINFRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
|
|
||||||
if( m_compListBox )
|
if( m_compListBox )
|
||||||
m_auimgr.AddPane( m_compListBox,
|
m_auimgr.AddPane( m_compListBox,
|
||||||
wxAuiPaneInfo( horiz ).Name( wxT( "m_compListBox" ) ).CentrePane() );
|
wxAuiPaneInfo( layers ).Name( wxT( "m_compListBox" ) )
|
||||||
|
.Caption( _( "Symbol : Footprint Assignments" ) ).Center() );
|
||||||
|
|
||||||
if( m_libListBox)
|
if( m_libListBox)
|
||||||
m_auimgr.AddPane( m_libListBox,
|
m_auimgr.AddPane( m_libListBox,
|
||||||
wxAuiPaneInfo( info ).Name( wxT( "m_libListBox" ) ).
|
wxAuiPaneInfo( layers ).Name( wxT( "m_libListBox" ) )
|
||||||
Left().BestSize( (int) ( m_FrameSize.x * 0.20 ), m_FrameSize.y ) );
|
.Caption( _( "Footprint Libraries" ) )
|
||||||
|
.Left().BestSize( (int) ( m_FrameSize.x * 0.20 ), m_FrameSize.y ) );
|
||||||
|
|
||||||
if( m_footprintListBox )
|
if( m_footprintListBox )
|
||||||
m_auimgr.AddPane( m_footprintListBox,
|
m_auimgr.AddPane( m_footprintListBox,
|
||||||
wxAuiPaneInfo( info ).Name( wxT( "m_footprintListBox" ) ).
|
wxAuiPaneInfo( layers ).Name( wxT( "m_footprintListBox" ) )
|
||||||
Right().BestSize( (int) ( m_FrameSize.x * 0.30 ), m_FrameSize.y ) );
|
.Caption( _( "Filtered Footprints" ) )
|
||||||
|
.Right().BestSize( (int) ( m_FrameSize.x * 0.30 ), m_FrameSize.y ) );
|
||||||
|
|
||||||
// Build the bottom panel, to display 2 status texts and the buttons:
|
// Build the bottom panel, to display 2 status texts and the buttons:
|
||||||
auto bottomPanel = new wxPanel( this );
|
auto bottomPanel = new wxPanel( this );
|
||||||
|
|
Loading…
Reference in New Issue