Improve Layer field spacing in footprint properties.
This commit is contained in:
parent
ba5e4b613f
commit
4cc29184c2
|
@ -353,8 +353,8 @@ bool DIALOG_FOOTPRINT_PROPERTIES::TransferDataToWindow()
|
|||
for( PCB_LAYER_ID layer : board->GetEnabledLayers().Seq() )
|
||||
col_size = std::max( col_size, GetTextExtent( board->GetLayerName( layer ) ).x );
|
||||
|
||||
// And the swatch:
|
||||
col_size += 20;
|
||||
// Swatch and gaps:
|
||||
col_size += 26;
|
||||
}
|
||||
|
||||
if( m_itemsGrid->IsColShown( col ) )
|
||||
|
|
|
@ -368,8 +368,8 @@ bool DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::TransferDataToWindow()
|
|||
for( PCB_LAYER_ID layer : board->GetEnabledLayers().Seq() )
|
||||
col_size = std::max( col_size, GetTextExtent( board->GetLayerName( layer ) ).x );
|
||||
|
||||
// And the swatch:
|
||||
col_size += 20;
|
||||
// Swatch and gaps:
|
||||
col_size += 26;
|
||||
}
|
||||
|
||||
if( m_itemsGrid->IsColShown( col ) )
|
||||
|
|
Loading…
Reference in New Issue