pcb layer box selector: ajust size when modifying the layer names, to show the full name.

This commit is contained in:
jean-pierre charras
2013-09-02 17:26:52 +02:00
parent 047749a8dc
commit 902e5ccee5
8 changed files with 30 additions and 23 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ void PCB_LAYER_WIDGET::ReFill()
void PCB_LAYER_WIDGET::OnLayerColorChange( LAYER_NUM aLayer, EDA_COLOR_T aColor )
{
myframe->GetBoard()->SetLayerColor( aLayer, aColor );
myframe->ReCreateLayerBox( NULL );
myframe->ReCreateLayerBox( false );
myframe->GetCanvas()->Refresh();
}