Commit 3d5ad6a2 authored by lcgamboa's avatar lcgamboa

chg: resize microcontroller label !minor

parent 9c012400
...@@ -348,8 +348,10 @@ cboard_0::Draw(CDraw *draw, double scale) ...@@ -348,8 +348,10 @@ cboard_0::Draw(CDraw *draw, double scale)
break; break;
case O_MP: case O_MP:
lxFont font ((MGetPinCount () > 14) ? 12 : 10, lxFONTFAMILY_TELETYPE, lxFONTSTYLE_NORMAL, lxFONTWEIGHT_NORMAL); lxFont font (
(MGetPinCount () >= 100 ) ? 9 : ((MGetPinCount () > 14) ? 12 : 10)
, lxFONTFAMILY_TELETYPE, lxFONTSTYLE_NORMAL, lxFONTWEIGHT_NORMAL);
draw->Canvas.SetFont (font); draw->Canvas.SetFont (font);
ps = micbmp->GetSize (); ps = micbmp->GetSize ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment