Very minor fixes in Gerbview and Kicad:
Gerbview: fix X2 z order display of Adhesive (Glue) layers. Kicad: very minor cosmetic enhancement in Create Project dialog.
This commit is contained in:
parent
e0e0687cd7
commit
827b818b5d
|
@ -292,7 +292,15 @@ void X2_ATTRIBUTE_FILEFUNCTION::set_Z_Order()
|
||||||
// Silk screen layer: the priority is top then bottom
|
// Silk screen layer: the priority is top then bottom
|
||||||
m_z_order = 3; // for top
|
m_z_order = 3; // for top
|
||||||
|
|
||||||
if( GetFileType().IsSameAs( wxT( "Legend" ), false ) )
|
if( GetBrdLayerId().IsSameAs( wxT( "Bot" ), false ) )
|
||||||
|
m_z_order = -m_z_order;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( GetFileType().IsSameAs( wxT( "Glue" ), false ) )
|
||||||
|
{
|
||||||
|
// Glue spots used to fix components to the board prior to soldering:
|
||||||
|
// the priority is top then bottom
|
||||||
|
m_z_order = 4; // for top
|
||||||
|
|
||||||
if( GetBrdLayerId().IsSameAs( wxT( "Bot" ), false ) )
|
if( GetBrdLayerId().IsSameAs( wxT( "Bot" ), false ) )
|
||||||
m_z_order = -m_z_order;
|
m_z_order = -m_z_order;
|
||||||
|
|
|
@ -196,7 +196,7 @@ public:
|
||||||
m_cbCreateDir->SetValue( true );
|
m_cbCreateDir->SetValue( true );
|
||||||
|
|
||||||
wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
|
wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
sizer->Add( m_cbCreateDir );
|
sizer->Add( m_cbCreateDir, 0, wxALL, 8 );
|
||||||
|
|
||||||
SetSizerAndFit( sizer );
|
SetSizerAndFit( sizer );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue