CADSTAR Schematic: Increase "tiny" bus labels to 0.4mm text size
Also fix incorrect label orientation
This commit is contained in:
parent
34a435cd56
commit
e0d2724f68
|
@ -784,7 +784,8 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadNets()
|
|||
}
|
||||
else
|
||||
{
|
||||
label->SetTextSize( wxSize( 1000, 1000 ) );
|
||||
const int smallText = KiROUND( (double) SCH_IU_PER_MM * 0.4 );
|
||||
label->SetTextSize( wxSize( smallText, smallText ) );
|
||||
}
|
||||
|
||||
netlabels.insert( { busTerm.ID, label } );
|
||||
|
@ -912,7 +913,7 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadNets()
|
|||
LABEL_SPIN_STYLE spin = getSpinStyleDeciDeg( aWireAngleDeciDeg );
|
||||
|
||||
if( netlabels.find( aNetEleID ) != netlabels.end() )
|
||||
netlabels.at( aNetEleID )->SetLabelSpinStyle( spin.RotateCW().RotateCW() );
|
||||
netlabels.at( aNetEleID )->SetLabelSpinStyle( spin.MirrorY() );
|
||||
|
||||
SCH_HIERLABEL* sheetPin = getHierarchicalLabel( aNetEleID );
|
||||
|
||||
|
|
Loading…
Reference in New Issue